ng2-tree:角树组件

时间:2021-01-31 07:08:02
【文件属性】:
文件名称:ng2-tree:角树组件
文件大小:113KB
文件格式:ZIP
更新时间:2021-01-31 07:08:02
tree angular children async branch :herb: ng2树 :clapper_board: 用法 好的,让我们开始安装-您需要做的是: npm install --save ng2-tree 现在,当您安装了ng2-tree ,距离在应用程序中添加树只有几个步骤: 将TreeModule添加到应用程序的模块imports部分: import { NgModule } from '@angular/core' ; import { AppComponent } from './app.component' ; import { BrowserModule } from '@angular/platform-browser' ; import { TreeModule } from 'ng2-tree' ; @ NgModule ( { declarations : [ MyComponent ] , imports : [ BrowserModule , TreeModule ] , bootstrap : [ MyComponent ] } ) export class M
【文件预览】:
ng2-tree-master
----.travis.yml(169B)
----package.json(3KB)
----tslint.json(3KB)
----test()
--------data-provider()
--------tree-controller.spec.ts(16KB)
--------menu()
--------right-menu.tree-internal.component.spec.ts(24KB)
--------test.ts(1KB)
--------left-menu.tree-internal.component.spec.ts(25KB)
--------settings.tree-internal.component.spec.ts(4KB)
--------tsconfig.spec.json(214B)
--------tree.types.spec.ts(887B)
--------draggable()
--------template.tree-internal.component.spec.ts(3KB)
--------tree-internal.component.spec.ts(23KB)
--------tree.spec.ts(34KB)
--------tree.service.spec.ts(11KB)
--------utils()
--------editable()
--------tree.components.spec.ts(3KB)
----.prettierrc(55B)
----media()
--------tree-events-hierarchy.png(25KB)
----protractor.conf.js(776B)
----.vimrc(96B)
----.angular-cli.json(1KB)
----LICENSE(1KB)
----TODO.md(845B)
----src()
--------tree.events.ts(2KB)
--------tree.component.ts(4KB)
--------tree.module.ts(1016B)
--------tree.ts(21KB)
--------menu()
--------tree-internal.component.ts(13KB)
--------tree.service.ts(5KB)
--------tree.types.ts(4KB)
--------draggable()
--------styles.css(4KB)
--------demo()
--------tree-controller.ts(4KB)
--------utils()
--------editable()
--------rxjs-imports.ts(253B)
----tsconfig.json(411B)
----e2e()
--------tsconfig.e2e.json(193B)
--------tslint.json(92B)
--------app.po.ts(711B)
--------app.e2e-spec.ts(1KB)
----.gitignore(148B)
----CHANGELOG.md(14KB)
----umd-bundler.js(2KB)
----.npmrc(19B)
----karma.conf.js(1KB)
----README.md(25KB)
----.editorconfig(147B)
----index.ts(1KB)
----publish.js(528B)
----tsconfig-aot.json(467B)

网友评论