source: trip-planner-front/node_modules/@angular/cdk/a11y/aria-describer/aria-reference.d.ts@ 571e0df

Last change on this file since 571e0df was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 902 bytes
Line 
1/**
2 * @license
3 * Copyright Google LLC All Rights Reserved.
4 *
5 * Use of this source code is governed by an MIT-style license that can be
6 * found in the LICENSE file at https://angular.io/license
7 */
8/**
9 * Adds the given ID to the specified ARIA attribute on an element.
10 * Used for attributes such as aria-labelledby, aria-owns, etc.
11 */
12export declare function addAriaReferencedId(el: Element, attr: string, id: string): void;
13/**
14 * Removes the given ID from the specified ARIA attribute on an element.
15 * Used for attributes such as aria-labelledby, aria-owns, etc.
16 */
17export declare function removeAriaReferencedId(el: Element, attr: string, id: string): void;
18/**
19 * Gets the list of IDs referenced by the given ARIA attribute on an element.
20 * Used for attributes such as aria-labelledby, aria-owns, etc.
21 */
22export declare function getAriaReferenceIds(el: Element, attr: string): string[];
Note: See TracBrowser for help on using the repository browser.