@public-ui/components
Version:
Contains all web components that belong to KoliBri - The accessible HTML-Standard.
17 lines (14 loc) • 585 B
JavaScript
/*!
* KoliBri - The accessible HTML-Standard
*/
import { h as headingLevelOptions } from './level-1jyaYIAE.js';
import { b as watchValidator } from './common-Cx_AGO_M.js';
const watchHeadingLevel = (component, value) => {
watchValidator(component, '_level', (value) => typeof value === 'number' && headingLevelOptions.includes(value), new Set(headingLevelOptions.map(String)), value, {
defaultValue: 1,
required: true,
});
};
export { watchHeadingLevel as w };
//# sourceMappingURL=validation-D6nATCh8.js.map
//# sourceMappingURL=validation-D6nATCh8.js.map