# e-switch

> angularjs

Latest version **1.0.0** (published 2017-10-09) · ISC license · 0 weekly downloads

## Install

```sh
npm install e-switch
pnpm add e-switch
yarn add e-switch
bun add e-switch
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2017-10-09 |
| First published | 2017-10-09 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | lemon |
| Maintainers | lemonl2 |
| Keywords | angularjs |

## Links

- npm: https://www.npmjs.com/package/e-switch
- npm.io page: https://npm.io/package/e-switch

## Recent versions

- 1.0.0 (latest) — 2017-10-09

## README

### eSwitch

A simple and powerful style switch for checkbox.

### Installation

npm:
```cmd
  $ npm i --save e-switch
```

### Usage

```html
  <e-switch ng-model="x.status"
            ng-click="event()"
            disabled="x.disabled"
            on="ON"
            off="Off"></sharp-switch>
```

+ ngModel: the value of switch
+ ngClick: if use it, you must change the value of ngModel by yourself
+ disabled: true or false, default: false
+ on/off: the title of switch in different status

---
_Source: https://npm.io/package/e-switch · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
