Skip to content

EqContext extensions


Sets the endpoint for getting the license key.

▸ setLicenseKeyEndpoint(this: EqContext,endpoint: string): void

Returns void


Extension method that activates Enterprise functionality

▸ useEnterprise(this: EqContext,keyOrInitCallback: string | () => void): void

  • this: EqContext
  • keyOrInitCallback: string | () => void - The license key or a callback wich is called after loading the license key from the back-end. If the callback function is called useEnterprise will try to get the license key from {base}/lck endpoint

Returns void

context.useEnterprise('license key')
//or
context.useEnterprise(() => {
//further logic
view.init(options);
});