Skip to main content
Glama
deleonio
by deleonio
aria-has-popup.ts846 B
/* types */ // https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-haspopup#values const ariaHasPopupOptions = ['false', 'true', 'menu', 'listbox', 'tree', 'grid', 'dialog'] as const; export type AriaHasPopupPropType = (typeof ariaHasPopupOptions)[number]; /** * Defines the aria-haspopup attribute. */ // export type PropAriaHasPopup = { // ariaHasPopup: AriaHasPopupPropType; // }; /* validator */ // export const validateAriaHasPopup = (component: Generic.Element.Component, value?: AriaHasPopupPropType): void => { // watchValidator( // component, // '_ariaHasPopup', // (value) => typeof value === 'string' && ariaHasPopupOptions.includes(value), // new Set([`KoliBriAriaHasPopup {${ariaHasPopupOptions.join(', ')}`]), // value, // { // defaultValue: 'false', // }, // ); // };

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/deleonio/public-ui-kolibri'

If you have feedback or need assistance with the MCP directory API, please join our Discord server