mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-16 01:52:19 +08:00
chore(angular): update proxies
This commit is contained in:
@ -1,5 +1,5 @@
|
|||||||
/* auto-generated angular directive proxies */
|
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
|
/* auto-generated angular directive proxies */
|
||||||
|
|
||||||
import { fromEvent } from 'rxjs';
|
import { fromEvent } from 'rxjs';
|
||||||
import { ChangeDetectionStrategy, Component, ElementRef, EventEmitter, ViewEncapsulation } from '@angular/core';
|
import { ChangeDetectionStrategy, Component, ElementRef, EventEmitter, ViewEncapsulation } from '@angular/core';
|
||||||
|
@ -8,7 +8,7 @@ export function inputs(instance: any, el: ElementRef, props: string[]) {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
export function proxyEvent(emitter: any, el: Node, eventName: string) {
|
export function proxyEvent(emitter: any, el: EventTarget, eventName: string) {
|
||||||
el.addEventListener(eventName, (ev) => {
|
el.addEventListener(eventName, (ev) => {
|
||||||
emitter.emit(ev);
|
emitter.emit(ev);
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user