MToolBar

From HTML5 Builder
Jump to: navigation, search

The MToolBar component is a toolbar to which you can add items through its Items property, with their name, icon, and more. Each item can be used to link to a page or run JavaScript code.

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].
      • ul
        • li
          • Item # (HTMLAnchorElement). Full web browser support. Access it with: $("#ComponentName_#").get()[0].

Replace # by the index of the target checkbox, starting with 0.

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. Project showcasing mobile controls, including MToolBar.
Personal tools