@public-ui/components
Version:
Contains all web components that belong to KoliBri - The accessible HTML-Standard.
10 lines (9 loc) • 383 B
JavaScript
/*!
* KoliBri - The accessible HTML-Standard
*/
export const validateLinkCallbacks = (component, value) => {
if (typeof value === 'object' && typeof (value === null || value === void 0 ? void 0 : value.onClick) === 'function') {
component.state = Object.assign(Object.assign({}, component.state), { _on: value });
}
};
//# sourceMappingURL=link-on-callbacks.js.map