mirror of
https://github.com/Eugeny/tabby.git
synced 2024-12-22 10:01:40 +03:00
32 lines
544 B
Markdown
32 lines
544 B
Markdown
Terminus Core Plugin
|
|
--------------------
|
|
|
|
See also: [Settings plugin API](./settings/), [Terminal plugin API](./terminal/), [Local terminal API](./local/)
|
|
|
|
* tabbed interface services
|
|
* toolbar UI
|
|
* config file management
|
|
* hotkeys
|
|
* tab recovery
|
|
* logging
|
|
* theming
|
|
|
|
Using the API:
|
|
|
|
```ts
|
|
import { AppService, TabContextMenuItemProvider } from 'terminus-core'
|
|
```
|
|
|
|
Exporting your subclasses:
|
|
|
|
```ts
|
|
@NgModule({
|
|
...
|
|
providers: [
|
|
...
|
|
{ provide: TabContextMenuItemProvider, useClass: MyContextMenu, multi: true },
|
|
...
|
|
]
|
|
})
|
|
```
|