@public-ui/components
Version:
Contains all web components that belong to KoliBri - The accessible HTML-Standard.
10 lines (9 loc) • 464 B
JavaScript
/*!
* KoliBri - The accessible HTML-Standard
*/
import { uiUxHintMillerscheZahl, watchJsonArrayString } from "../../schema";
export const watchNavLinks = (className, component, value) => {
watchJsonArrayString(component, '_links', (link) => typeof link === 'object' && (typeof link._href === 'string' || typeof link._label === 'string'), value);
uiUxHintMillerscheZahl(className, component.state._links.length);
};
//# sourceMappingURL=validation.js.map