1 | /**
|
2 | * Gets or sets an attribute of a given element.
|
3 | *
|
4 | * @param node the element
|
5 | * @param attr the attribute to get or set
|
6 | * @param val the attribute value
|
7 | */
|
8 | export default function attribute(node: Element | null, attr: string, val?: string | boolean | null): string | null | undefined;
|