mirror of
https://github.com/Eugeny/tabby
synced 2024-12-13 23:02:41 +00:00
24 lines
299 B
Markdown
24 lines
299 B
Markdown
|
Terminus Local Plugin
|
||
|
---------------------
|
||
|
|
||
|
* local shells
|
||
|
|
||
|
Using the API:
|
||
|
|
||
|
```ts
|
||
|
import { ShellProvider } from 'terminus-local'
|
||
|
```
|
||
|
|
||
|
Exporting your subclasses:
|
||
|
|
||
|
```ts
|
||
|
@NgModule({
|
||
|
...
|
||
|
providers: [
|
||
|
...
|
||
|
{ provide: ShellProvider, useClass: MyShellPlugin, multi: true },
|
||
|
...
|
||
|
]
|
||
|
})
|
||
|
```
|