<fm-flexmonster> tag
Inherits the HTMLElement
Creates a composite Flexmonster control on your HTML page. The control includes a pivot table, a toolbar, and a field list.
You can also create the composite Flexmonster control using the fm3.Controls.Flexmonster() method.
Refer to the guide on the composite control for more details.
Attributes
| Name | Description |
|---|---|
state-id | Identifier of the state. State with the specified id must exist and be registered in your JavaScript code. |
You can also use attributes available for the HTMLElement. For example, you can specify the element’s id to reference the created instance.
Referencing the Flexmonster instance
You can get a reference to the created control via the element’s id:
const flexmonster = document.getElementById("flexmonster");
Example
Add a composite Flexmonster control using the <fm-flexmonster> tag: