* Extend Element interface to include prefixed and experimental properties
| 4 | * Extend Element interface to include prefixed and experimental properties |
| 5 | */ |
| 6 | interface Element { |
| 7 | matchesSelector: (selector: string) => boolean; |
| 8 | mozMatchesSelector: (selector: string) => boolean; |
| 9 | msMatchesSelector: (selector: string) => boolean; |
| 10 | oMatchesSelector: (selector: string) => boolean; |
| 11 | |
| 12 | prepend: (...nodes: Array<string | Node>) => void; |
| 13 | append: (...nodes: Array<string | Node>) => void; |
| 14 | } |
| 15 | |
| 16 | /** |
| 17 | * The Element.matches() method returns true if the element |