ngx-ui-switch:Angular UI Switch组件

时间:2021-01-29 18:04:00
【文件属性】:
文件名称:ngx-ui-switch:Angular UI Switch组件
文件大小:227KB
文件格式:ZIP
更新时间:2021-01-29 18:04:00
angular ng switch angular-cli ngx Angular UI开关组件 描述 这是一个简单的iOS 7样式开关组件。 现场 也有 受到启发。 安装 npm: npm install ngx-ui-switch --save 纱线: yarn add ngx-ui-switch 某些功能在以前的版本中不可用: CSS样式 切换内容(checkedLabel,uncheckedLabel) 全局选项 beforeChange事件 用法 导入模块(下面的AppModule示例) // app.module.ts import { UiSwitchModule } from 'ngx-ui-switch' ; import { AppComponent } from './app.component' ; @ NgModule ( { imports : [ BrowserModule , UiSwitchModule ] , declarations : [ AppComponent ] , bootstrap : [ AppComponent ] } ) export class AppModule
【文件预览】:
ngx-ui-switch-master
----build.ts(5KB)
----tsconfig.build.json(88B)
----.nojekyll(10B)
----yarn.lock(440KB)
----src()
--------tsconfig.spec.json(277B)
--------main.ts(336B)
--------index.html(2KB)
--------polyfills.ts(2KB)
--------environments()
--------favicon.ico(5KB)
--------lib()
--------styles.scss(2KB)
--------assets()
--------test.ts(637B)
--------tsconfig.app.json(295B)
--------app()
--------typings.d.ts(176B)
----protractor-ci.conf.js(837B)
----angular.json(4KB)
----.npmignore(92B)
----typedoc.json(386B)
----docs.ts(325B)
----.travis.yml(2KB)
----tsconfig.json(523B)
----LICENSE(1KB)
----tslint.json(3KB)
----README.md(11KB)
----.all-contributorsrc(3KB)
----browserslist(429B)
----logo.png(15KB)
----renovate.json(1KB)
----.codecov.yml(110B)
----.editorconfig(245B)
----.gitignore(568B)
----karma.conf.js(968B)
----e2e()
--------app.e2e-spec.ts(302B)
--------tsconfig.e2e.json(235B)
--------app.po.ts(212B)
----package.json(3KB)
----protractor.conf.js(722B)
----.nvmrc(11B)

网友评论