【文件属性】:
文件名称:ng2-expansion-panels:Angular 2扩展面板
文件大小:23KB
文件格式:ZIP
更新时间:2021-05-17 04:01:24
JavaScript
Ng2扩展面板
这是Angular 2的组件。设计灵感来自Material Design的组件扩展面板。
发展还处于初期
演示版
在查看现场演示(带有源代码)。
正在安装
npm install ng2-expansion-panels --save
配置
确保导入模块:
import { ExpansionPanelsModule } from 'ng2-expansion-panels' ;
// please notice this is the new way of telling a Component
// to import another component...no more directives[]
@ NgModule ( {
imports : [ ExpansionPanelsModule ]
} )
export class MyModule {
【文件预览】:
ng2-expansion-panels-master
----.travis.yml(327B)
----webpack.test.js(817B)
----package.json(3KB)
----tslint.json(1KB)
----tsconfig.json(880B)
----.gitignore(206B)
----webpack.demo.js(3KB)
----webpack.config.js(3KB)
----demo()
--------typings.d.ts(1KB)
--------index.html(574B)
--------app.ts(792B)
--------polyfills.ts(308B)
--------home()
--------favicon.ico(5KB)
--------vendor.ts(1B)
----karma.conf.js(3KB)
----README.md(3KB)
----spec-bundle.js(786B)
----index.ts(84B)
----modules()
--------components()
--------ng2-expansion-panels.module.ts(869B)