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/TypeDescription
containerHTMLElement | StringAn HTML element where the toolbar should be rendered. You can pass either the HTMLElement or its id.
paramsBaseInputParamsObjectoptionalProvides configurations for the control.

Returns

IFMToolbar instance, the reference to the embedded toolbar control.

Example

Add a toolbar control:

See also