toggle:controls

Description

The toggle controls directive

Usage

as element:
<toggle:controls
       labels="{string}"
       panes="{string}"
       [title="{string}"]>
</toggle:controls>

Directive info

  • This directive creates new scope.

Parameters

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.

Example

Source



Demo