(elt, selector)
| 2660 | // DOM operations |
| 2661 | // ================================================================= |
| 2662 | matchesSelector(elt, selector) { |
| 2663 | return elt.matches && elt.matches(selector); |
| 2664 | } |
| 2665 | makeEvent(eventName, detail) { |
| 2666 | var evt = new Event(eventName, { bubbles: true, cancelable: true, composed: true }); |
| 2667 | evt["detail"] = detail; |