UNPKG

@umbraco-ui/uui-base

Version:

This is a base dependency for Umbraco UI components. It contains mixins, animations, abstract base classes, UUIEvent base class, and universal types for properties shared by different components

9 lines (8 loc) 494 B
/** * Fire a warning if the custom element with the provided name isn't available. * @func defineElement * @param {HTMLElement} requester - Reference to the element requiring this custom element.. * @param {string} elementName - Tag name of the required custom element. * @param {string} message - Optional message describing the consequences of it not begin available. */ export declare const demandCustomElement: (requester: HTMLElement, elementName: string, message?: string) => void;