<fm-flexmonster> tag

Inherits the HTMLElement

Creates a Flexmonster control on your HTML page. The control includes a pivot table, a toolbar, and a field list.

You can also create the Flexmonster control using the f3.Controls.Flexmonster() method.

Attributes

NameDescription
state-idIdentifier of the state. State with the specified id must exist in your JavaScript code.

You can also use attributes available for 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 Flexmonster control using the <fm-flexmonster> tag: