@public-ui/components
Version:
Contains all web components that belong to KoliBri - The accessible HTML-Standard.
10 lines (9 loc) • 420 B
JavaScript
/*!
* KoliBri - The accessible HTML-Standard
*/
import { createPropDefinition } from "./helpers/factory";
import { normalizeString } from "./helpers/normalizers";
const LOADING_OPTIONS = ['eager', 'lazy'];
const LOADING_SET = new Set(LOADING_OPTIONS);
export const loadingProp = createPropDefinition('loading', 'lazy', (value) => normalizeString(value), (v) => LOADING_SET.has(v));
//# sourceMappingURL=loading.js.map