20 lines
523 B
TypeScript
20 lines
523 B
TypeScript
|
|
import HTMLElement from '../html-element/HTMLElement.js';
|
||
|
|
import SVGElement from '../svg-element/SVGElement.js';
|
||
|
|
/**
|
||
|
|
* HTMLElement utility.
|
||
|
|
*/
|
||
|
|
export default class HTMLElementUtility {
|
||
|
|
/**
|
||
|
|
* Triggers a blur event.
|
||
|
|
*
|
||
|
|
* @param element Element.
|
||
|
|
*/
|
||
|
|
static blur(element: HTMLElement | SVGElement): void;
|
||
|
|
/**
|
||
|
|
* Triggers a focus event.
|
||
|
|
*
|
||
|
|
* @param element Element.
|
||
|
|
*/
|
||
|
|
static focus(element: HTMLElement | SVGElement): void;
|
||
|
|
}
|
||
|
|
//# sourceMappingURL=HTMLElementUtility.d.ts.map
|