2019-03-07 00:51:15 +00:00
|
|
|
Terminus Core Plugin
|
|
|
|
--------------------
|
|
|
|
|
2019-06-30 21:08:59 +00:00
|
|
|
See also: [Settings plugin API](./settings/), [Terminal plugin API](./terminal/)
|
2019-03-07 17:04:03 +00:00
|
|
|
|
2019-03-07 00:51:15 +00:00
|
|
|
* 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 },
|
|
|
|
...
|
|
|
|
]
|
|
|
|
})
|
|
|
|
```
|