【文件属性】:
文件名称:ngx-tree-select:带有树项的角度选择组件
文件大小:461KB
文件格式:ZIP
更新时间:2021-05-02 16:13:29
library select angular4 ngx treeview
Ngx树选择
特征:
带有“扁平”项目的下拉菜单(与普通选择类似)
带有分层项的下拉菜单
简单或多个所选项目
使用分层数据,您可以强制选择子项或允许选择父项
符合ngModel和标准验证
可以限制显示的所选项目(...链接允许您的用户查看整个选择)
安装
这是安装组件的方法:
npm install ngx-tree-select
或者
yarn add ngx-tree-select
在您的应用程序模块上:
import { NgxTreeSelectModule } from 'ngx-tree-select' ;
@ NgModule ( {
declarations : [ ... ] ,
imports : [
BrowserModule ,
... . ,
NgxTreeSelectModule . forRoot ( {