@public-ui/components
Version:
Contains all web components that belong to KoliBri - The accessible HTML-Standard.
21 lines (18 loc) • 527 B
JavaScript
/*!
* KoliBri - The accessible HTML-Standard
*/
import { b as watchBoolean, t as a11yHintDisabled } from './prop.validators.js';
const validateDisabled = (component, value) => {
watchBoolean(component, '_disabled', value, {
hooks: {
afterPatch: (value) => {
if (value === true) {
a11yHintDisabled();
}
},
},
});
};
export { validateDisabled as v };
//# sourceMappingURL=disabled.js.map
//# sourceMappingURL=disabled.js.map