|
|
6 лет назад | |
|---|---|---|
| .. | ||
| src | 39732908a3 ivy test | 6 лет назад |
| .gitignore | 0ea346a6ae wip | 8 лет назад |
| README.md | 269971ab60 docs fix | 6 лет назад |
| package.json | 99698913a8 lint | 6 лет назад |
| tsconfig.json | 39732908a3 ivy test | 6 лет назад |
| tsconfig.typings.json | 39bbe54992 refactoring, build fix | 6 лет назад |
| webpack.config.js | 39732908a3 ivy test | 6 лет назад |
| yarn.lock | 8ed6a78610 Bump core-js from 3.3.5 to 3.4.2 in /terminus-core | 6 лет назад |
See also: Settings plugin API, Terminal plugin API
Using the API:
import { AppService, TabContextMenuItemProvider } from 'terminus-core'
Exporting your subclasses:
@NgModule({
...
providers: [
...
{ provide: TabContextMenuItemProvider, useClass: MyContextMenu, multi: true },
...
]
})