Viewing File: /usr/local/cpanel/share/libraries/cjt2/src/directives/toggleSwitchDirective.spec.html

<div>
    <toggle-switch id="no-labels"
        ng-model="enabled" >
    </toggle-switch>
</div>

<div>
    <toggle-switch id="all-labels"
        ng-model="enabled"
        enabled-label="enabled"
        disabled-label="disabled" >
    </toggle-switch>
</div>

<div>
    <toggle-switch id="aria-label"
        ng-model="enabled"
        aria-label="my aria label" >
    </toggle-switch>
</div>

<div>
    <toggle-switch id="enabled-box"
        enabled-label="enabled"
        disabled-label="disabled"
        ng-model="enabled" >
    </toggle-switch>
</div>

<div>
    <toggle-switch id="disabled-box"
        enabled-label="enabled"
        disabled-label="disabled"
        ng-model="enabled" >
    </toggle-switch>
</div>

<div>
    <toggle-switch id="with-spinner-no-position"
        ng-model="enabled"
        on-toggle="fakeToggleHandler()">
    </toggle-switch>

    <toggle-switch id="with-spinner-left-position"
        spinner-position="left"
        ng-model="enabled"
        on-toggle="fakeToggleHandler()">
    </toggle-switch>

    <toggle-switch id="with-spinner-right-position"
        spinner-position="right"
        ng-model="enabled"
        on-toggle="fakeToggleHandler()">
    </toggle-switch>
</div>
Back to Directory File Manager