mirror of
https://github.com/Eugeny/tabby.git
synced 2024-12-03 06:11:57 +08: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 },
|
||
|
...
|
||
|
]
|
||
|
})
|
||
|
```
|