@public-ui/components
Version:
Contains all web components that belong to KoliBri - The accessible HTML-Standard.
16 lines (13 loc) • 555 B
JavaScript
/*!
* KoliBri - The accessible HTML-Standard
*/
import { a as watchValidator } from './prop.validators.js';
const autoCompleteOptions = ['on', 'off'];
const validateAutoComplete = (component, value) => {
watchValidator(component, '_autoComplete', (value) => autoCompleteOptions.includes(value) || (typeof value === 'string' && value.length > 0), new Set(autoCompleteOptions), value, {
defaultValue: 'off',
});
};
export { validateAutoComplete as v };
//# sourceMappingURL=auto-complete.js.map
//# sourceMappingURL=auto-complete.js.map