ngx-user-settings
v1.0.1
Published
The **Angular User Settings** is an extension used for storing and retrieving a user's table configuration of the [Angular Table Manager](https://www.npmjs.com/package/ngx-table-manager).
Downloads
1
Readme
Angular User Settings
The Angular User Settings is an extension used for storing and retrieving a user's table configuration of the Angular Table Manager.
It requires a MongoDB backend which handles the following requests.
import { NgxUserSettingsModule } from 'ngx-user-settings';
import { UserSettingsService } from 'ngx-user-settings';
imports: [
...
NgxUserSettingsModule.forRoot({
host: 'http://0.0.0.0:5000', // environment.userSettingsHost
project: 'test-project' //environment.name
}),
...
]
providers: [
...
UserSettingsService
...
]
UserSettingsService:
get(data)
put(data)
post(data)
getCols(settings,cols,componentName: string)