Skip to content

pantoken-root / renderers/angular/src / registerPantokenElements

Funzione: registerPantokenElements() ​

registerPantokenElements(): void

Sperimentale

Registra gli elementi personalizzati di pantoken (chiamare una sola volta durante il bootstrap dell'app).

Restituisce ​

void

Esempio ​

ts
import { registerPantokenElements } from "@pantoken/angular";
import "@pantoken/css";

registerPantokenElements(); // during app bootstrap
// Add CUSTOM_ELEMENTS_SCHEMA to the component/module that uses <instui-icon>.