mirror of
https://github.com/Eugeny/tabby.git
synced 2024-11-23 21:34:13 +03: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 },
|
||
|
...
|
||
|
]
|
||
|
})
|
||
|
```
|