<fm-pivot-field-list> tag
Inherits the HTMLElement
Creates a pivot field list on your HTML page.
You can also create the pivot field list using the f3.Controls.PivotFieldList() method.
Attributes
Name | Description |
---|---|
state-id | Identifier 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 pivot field list instance
You can get a reference to the created pivot field list instance via the element’s id
:
const pivotFieldList = document.getElementById("#pivot-field-list");
Example
Add a pivot field list using the <fm-pivot-field-list>
tag: