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