(eventType: string, options: EventsFnOptions)
| 46 | ]; |
| 47 | |
| 48 | function determineUseCapture(eventType: string, options: EventsFnOptions): boolean { |
| 49 | let result = false; |
| 50 | if (typeof options.useCapture === 'boolean') { |
| 51 | result = options.useCapture; |
| 52 | } |
| 53 | if (eventTypesThatDontBubble.indexOf(eventType) !== -1) { |
| 54 | result = true; |
| 55 | } |
| 56 | return result; |
| 57 | } |
| 58 | |
| 59 | function filterBasedOnIsolation(domSource: MainDOMSource, fullScope: string) { |
| 60 | return function filterBasedOnIsolationOperator(rootElement$: Stream<Element>): Stream<Element> { |