fm3.Controls.Toolbar()
fm3.Controls.Toolbar(
container: HTMLElement | String,
params?: BaseInputParamsObject
)
A static method that creates a toolbar in the specified HTML container.
You can also create the toolbar using the <fm-toolbar> tag.
Parameters
| Parameter/Type | Description |
|---|---|
containerHTMLElement | String | An HTML element where the toolbar should be rendered. You can pass either the HTMLElement or its id. |
paramsBaseInputParamsObject | optionalProvides configurations for the control. |
Returns
IFMToolbar instance, the reference to the embedded toolbar control.
Example
Add a toolbar control: