@luzmo/ngx-analytics-components-kit
v2.0.0
Published
Angular wrappers for the Luzmo Analytics Components Kit web components
Maintainers
Keywords
Readme
Luzmo Analytics Components Kit - Angular Wrappers
Standalone Angular wrapper components for the Luzmo Analytics Components Kit web components
This package provides Angular wrappers for the Luzmo Analytics Components Kit web components.
Installation
npm install @luzmo/ngx-analytics-components-kit @luzmo/analytics-components-kit @angular/core @angular/formsRequirements
- Angular
>= 17.3(the wrappers use the functionaloutput()API). - The peer package
@luzmo/analytics-components-kitprovides the underlying custom-element classes that the wrappers register at import time.
Usage
import { Component } from '@angular/core';
import { LuzmoDataField } from '@luzmo/ngx-analytics-components-kit';
@Component({
selector: 'app-root',
standalone: true,
imports: [LuzmoDataField],
template: `<luzmo-data-field></luzmo-data-field>`
})
export class AppComponent {}The wrapper class name mirrors the host element (LuzmoDataField); the
underlying HTMLElement subclass type is re-exported as
LuzmoDataFieldElement for @ViewChild / ElementRef<T> use cases.
Notes
- This package depends on
@luzmo/analytics-components-kitfor the underlying custom elements.
