Search
WebComponents.register Method
See Also
 






Registers the controls in the package as web components.

Namespace: MindFusion.Common.UI
File: WebComponents.js

 Syntax

JavaScript  Copy Code

function register ()

 Remarks

Call this method to register the control classes from UI package as web components. After registration, the browser instantiates corresponding classes for following tags in HTML code:

HTML

JS Class

<mindfusion-checklistbox>

CheckListBox

<mindfusion-dropdown>

DropDown

<mindfusion-tooltip>

Tooltip

<mindfusion-toolstrip>

ToolStrip

<mindfusion-checklistpicker>

CheckListPicker

<mindfusion-listview>

ListView

<mindfusion-imagepicker>

ImagePicker

<mindfusion-menu>

Menu

<mindfusion-tabstrip>

TabStrip

<mindfusion-tabcontrol>

TabControl

<mindfusion-treeview>

TreeView

<mindfusion-window>

Window

<mindfusion-windowhost>

WindowHost

<mindfusion-dayview>

DayView

<mindfusion-monthview>

MonthView

<mindfusion-yearview>

YearView

<mindfusion-calendarview>

Calendar

<mindfusion-datetimepicker>

DateTimePicker

You can get a reference to objects created by the browser by calling the find method of corresponding class with id attribute's value as argument.

 See Also