mirror of
https://github.com/Eugeny/tabby.git
synced 2024-12-23 18:44:20 +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 },
|
||
|
...
|
||
|
]
|
||
|
})
|
||
|
```
|