【文件属性】:
文件名称:ng-sidebar:[无效] Angular侧栏组件
文件大小:143KB
文件格式:ZIP
更新时间:2021-01-31 06:57:22
angular component sidebar AngularTypeScript
ng-侧边栏
以前称为
Angular侧栏组件。
安装
npm install --save ng-sidebar
SystemJS配置
如果您使用的是SystemJS,请确保将适当的设置添加到您的SystemJS配置中:
const map = {
// ...
'ng-sidebar' : 'node_modules/ng-sidebar' ,
// ...
} ;
const packages = {
// ...
'ng-sidebar' : {
main : 'lib/index' ,
defaultExtension : 'js'
} ,
// ...
} ;
变更日志
请参阅GitHub上的。
用法
将SidebarModule添加到您的应用模块:
import { SidebarModule } from 'ng-sidebar' ;
@ NgModule ( {
declarations : [ AppComponent ] ,
imports : [ BrowserModule , SidebarModule
【文件预览】:
ng-sidebar-master
----.gitignore(178B)
----tsconfig.json(669B)
----README.md(9KB)
----LICENSE(1KB)
----package.json(1KB)
----tslint.json(1KB)
----src()
--------close.directive.ts(359B)
--------sidebar.module.ts(572B)
--------utils.ts(868B)
--------sidebar.component.ts(20KB)
--------sidebar-container.component.ts(8KB)
--------index.ts(213B)
----.editorconfig(188B)
----tsconfig.module.json(143B)
----package-lock.json(89KB)
----demo()
--------tsconfig.json(416B)
--------public()
--------package.json(1KB)
--------src()
--------webpack.config.js(2KB)
--------package-lock.json(393KB)