dex-ng-file-explorer
v1.3.10
Published
Dexninja angular file explorer built on top of [email protected]
Downloads
24
Maintainers
Readme
dex-ng-file-explorer
Lightweight and easy-to-use Angular File Explorer module. This is a front-end implementation only. There are no services at this point.
How to use
- Install package
npm i dex-ng-file-explorer- Implement
IDataServiceprovider interface
import { IDataService } from 'dex-ng-file-explorer';
export class MyDataService implements IDataService<MyNodeType> {
...
}- Add
NgxExplorerModuleand data provider toNgModule
import { NgxExplorerModule, DataService } from 'dex-ng-file-explorer';
@NgModule({
imports: [
...
NgxExplorerModule
],
providers: [
{ provide: DataService, useClass: MyDataService }
]
})
export class AppModule { }- Add
<nxe-explorer></nxe-explorer>to the template - Add css import
@import '~dex-ng-file-explorer/src/assets/icons/css/nxe.css'

