mirror of
https://github.com/Eugeny/tabby
synced 2024-12-15 15:52:44 +00:00
24 lines
333 B
Markdown
24 lines
333 B
Markdown
|
Terminus Settings Plugin
|
||
|
------------------------
|
||
|
|
||
|
* tabbed settings interface
|
||
|
|
||
|
Using the API:
|
||
|
|
||
|
```ts
|
||
|
import { SettingsTabProvider } from 'terminus-settings'
|
||
|
```
|
||
|
|
||
|
Exporting your subclasses:
|
||
|
|
||
|
```ts
|
||
|
@NgModule({
|
||
|
...
|
||
|
providers: [
|
||
|
...
|
||
|
{ provide: SettingsTabProvider, useClass: MySettingsTab, multi: true },
|
||
|
...
|
||
|
]
|
||
|
})
|
||
|
```
|