Description
The toggle controls directiveUsage
as element:Directive info
- This directive creates new scope.
Parameters
Example
Source
Result

Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
<toggle:controls
labels="{string}"
panes="{string}"
[title="{string}"]>
</toggle:controls>
| Param | Type | Details |
|---|---|---|
| labels | string | Labels that describe each corresponding pane. There must be exactly the same number of labels as there are panes. |
| panes | string | This parameter associates the controls with the corresponding panes by referencing the panes’ id parameter. |
| title (optional) | string | The title of the pane controls. |
<toggle:controls labels="Pane 1, Pane 2, Pane 3" panes="panes"></toggle:controls>
<toggle:panes id="panes">
<toggle:pane>
<h3 id="example_pane-1">Pane 1</h3>
</toggle:pane>
<toggle:pane>
<h3 id="example_pane-2">Pane 2</h3>
</toggle:pane>
<toggle:pane>
<h3 id="example_pane-3">Pane 3</h3>
</toggle:pane>
</toggle:panes>

Was this page helpful?