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