ontimize-web-ngx-tree
v8.0.2
Published
An implementation of a tree component for Ontimize Web.
Downloads
25
Readme
Ontimize Web Tree
An implementation of a tree component for Ontimize Web.
Github
Ontimize Web Tree module is stored in github{:target="_blank"} where you can also see/add todos, bugs or feature requests in the issues{:target="_blank"} section.
Installation
npm install ontimize-web-ngx-tree --save
Usage
Finally, you can use ontimize-web-ngx-tree in your Ontimize Web project.
Configure angular-cli.json dependencies
You must add the module styles definition in your '.angular-cli.json' file styles array:
...
"styles": [
...
"../node_modules/ontimize-web-ngx-tree/styles.scss",
....
],
...
Add the library theming
In your application 'app.scss' file you should add the library theme.
...
@import 'node_modules/ontimize-web-ngx-tree/o-tree-theme.scss';
@include o-tree-theme($theme);
...
Import in an application module
Include the library tree module into your app in the module where you want to use it.
...
import { OTreeModule } from 'ontimize-web-ngx-tree';
...
@NgModule({
imports: [
OTreeModule,
/* other imports */
],
declarations: ...
providers: ...
})
export class ExampleModule { }