UNPKG

@scania/tegel

Version:
10 lines (9 loc) 554 B
/** * Returns an array of aria attributes that should be copied from * the shadow host element to a target within the light DOM. * @param el The element that the attributes should be copied from. * @param ignoreList The list of aria-attributes to ignore reflecting and removing from the host. * Use this in instances where we manually specify aria attributes on the `<Host>` element. */ declare const inheritAriaAttributes: (el: HTMLElement, ignoreList?: string[]) => import("../types/Attributes").Attributes; export default inheritAriaAttributes;