MCollapsible

From HTML5 Builder
Jump to: navigation, search

The MCollapsible component is a collapsible container for other visual components. When you click on MCollapsible’s title, it shows or hides its content.

Client-side Features

DOM Elements

The component generates the following client-side DOM elements:

  • Wrapper (HTMLDivElement). Full web browser support. Access it with $("#ComponentName_outer").get()[0].
    • Main element (HTMLDivElement). Full web browser support. Access it with $("#ComponentName").get()[0].
      • Title (HTMLHeadingElement). Full web browser support. Access it with $("#ComponentName > h1").get()[0].
      • Content

Client-side Events

Documented in the RPCL Reference.

Server-side Features

Properties, Methods and Events

Documented in the RPCL Reference.

Help Resources

Sample Applications

In the following folders inside the sample applications directory you will find projects covering this component:

  • JQueryMobile/basic. There is a page in the application that covers in detail the MCollapsible component.