ASP.NET Core MVC Controls | ComponentOne
In This Topic
    AccordionPane Class
    In This Topic
    File
    wijmo.nav.js
    Module
    wijmo.nav

    Represents a pane in an Accordion control.

    Panes have two elements: header and content. The header displays the pane title and the content is a collapsible element that shows the pane content.

    Constructor

    constructor

    constructor(header: any, content: any): AccordionPane
    

    Initializes a new instance of the AccordionPane class.

    Parameters
    • header: any

      Element or CSS selector for the element that contains the pane header.

    • content: any

      Element or CSS selector for the element that contains the pane content.

    Returns
    AccordionPane

    Properties

    accordion

    Gets a reference to the Accordion that contains this Tab.

    Type
    Accordion

    content

    Gets the panes's content element.

    Type
    HTMLElement

    isCollapsed

    Gets or sets a value that determines whether this AccordionPane is expanded or collapsed.

    Type
    boolean

    isDisabled

    Gets or sets a value that determines whether this AccordionPane is disabled.

    Type
    boolean

    isVisible

    Gets or sets a value that determines whether this AccordionPane is visible.

    Type
    boolean