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