Component
Get component instance
This method lets you to retrieve a component instance
Syntax
Parameters
Parameters | type | Description |
---|---|---|
componentId | String | Unique Id of Component |
Returns a component instance with following methods
Refresh
This methods lets you to refresh the component.
Syntax
Hide
This method hides a component from page
Syntax
Show
This method renders a component that has been hidden previously in a page.
Syntax
Component Specific methods
OnMount
A lifecycle event for a component which will be called when component is mounted / re-mounted on page.
Syntax
Example
1. Tab
setActiveTab
The method can be used to set a specified tab index as active.
Parameters
Parameters | type | Description |
---|---|---|
tabIndex | Number | Index of tab starting from 1 |