@k8slens/application
TypeScript icon, indicating that this package has built-in type declarations

6.5.0 • Public • Published

@k8slens/application

This package contains stuff related to creating Lens-applications.

Usage

$ npm install @k8slens/application-for-electron-main
import { applicationFeature, startApplicationInjectionToken } from "@k8slens/application";
import { registerFeature } from "@k8slens/feature-core";
import { createContainer } from "@ogre-tools/injectable";

const di = createContainer("some-container");

registerFeature(di, applicationFeature);

const startApplication = di.inject(startApplicationInjectionToken);

startApplication();

Features

Start application

startApplicationInjectionToken

Starts the application and calls timeslots in specified order. Check for timeslots for more info.

Extendability

Timeslots

  1. beforeApplicationIsLoadingInjectionToken
  2. onLoadOfApplicationInjectionToken
  3. afterApplicationIsLoadedInjectionToken

Readme

Keywords

none

Package Sidebar

Install

npm i @k8slens/application

Weekly Downloads

25

Version

6.5.0

License

MIT

Unpacked Size

8.46 kB

Total Files

10

Last publish

Collaborators

  • mirantis_it
  • jakolehm
  • k8slens-bot