Skip to content
This repository was archived by the owner on Apr 28, 2023. It is now read-only.

GuilleLegend/ngx-file-explorer

 
 

Repository files navigation

File Explorer for Angular

Lightweight and easy-to-use Angular File Explorer module. This is a front-end implementation only. There are no services at this point.

DEMO

How to use

  • Install package
npm i ngx-explorer
  • Implement IDataService provider interface
import { IDataService } from 'ngx-explorer';

export class MyDataService implements IDataService<MyNodeType> {
    ... 
}
  • Add NgxExplorerModule and data provider to NgModule
import { NgxExplorerModule, DataService } from 'ngx-explorer';

@NgModule({
    imports: [
        ...
        NgxExplorerModule
    ],
    providers: [
        { provide: DataService, useClass: MyDataService }
    ]
})
export class AppModule { }
  • Add <nxe-explorer></nxe-explorer> to the template
  • Add css import @import '~ngx-explorer/src/assets/icons/css/nxe.css'

explorer

About

File Explorer for Angular

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 66.2%
  • SCSS 18.8%
  • HTML 9.3%
  • CSS 3.0%
  • JavaScript 2.7%