Skip to content

shijukbabu/ng-toggle-btn-example

Repository files navigation

ng-toggle-btn

AngularJS Directive for switch toggle button with styles.

ng-toggle-btn Page

Demo Here

Usage
Add dependency to app.

angular.module('moduleName', ['ng-toggle.btn']);

HTML

<input ng-model="modelName" name="{{name}}" type="checkbox" toggle-btn on-type="{{on-color}}" off-type={{off color}} on-label="{{right side label}}" off-label="{{left side lable}}" is-disabled="boolean true or false" ng-change="doSomething()" >

on-type, off-type = Color types, supported values are - default, primary, info, success, warning, danger, inverse. Default on-type is primary and default off-type is default

About

Angular toggle button

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published