mirror of
https://github.com/Eugeny/tabby.git
synced 2024-12-22 10:01:40 +03: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 },
|
||
|
...
|
||
|
]
|
||
|
})
|
||
|
```
|