* Selector Decorator * * Returns first match * * @param {Element} el - element we searching inside. Default - DOM Document * @param {string} selector - searching string * @returns {Element}
(el: Element | Document = document, selector: string)
| 150 | * @returns {Element} |
| 151 | */ |
| 152 | public static find(el: Element | Document = document, selector: string): Element | null { |
| 153 | return el.querySelector(selector); |
| 154 | } |
| 155 | |
| 156 | /** |
| 157 | * Get Element by Id |
no outgoing calls
no test coverage detected