chore(angular): update proxies

This commit is contained in:
Manu Mtz.-Almeida
2018-09-25 20:58:46 +02:00
parent 9badb085d8
commit a74fd6f414
3 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,5 @@
/* auto-generated angular directive proxies */
/* tslint:disable */
/* auto-generated angular directive proxies */
import { fromEvent } from 'rxjs';
import { ChangeDetectionStrategy, Component, ElementRef, EventEmitter, ViewEncapsulation } from '@angular/core';

View File

@ -83,14 +83,14 @@ export class Platform {
* | cordova | on a device running Cordova. |
* | ios | on a device running iOS. |
* | ipad | on an iPad device. |
* | iphone | on an iPhone device. |
* | iphone | on an iPhone device. |
* | phablet | on a phablet device. |
* | tablet | on a tablet device. |
* | tablet | on a tablet device. |
* | electron | in Electron on a desktop device. |
* | pwa | as a PWA app. |
* | mobile | on a mobile device. |
* | desktop | on a desktop device. |
* | hybrid | is a cordova or capacitor app. |
* | hybrid | is a cordova or capacitor app. |
*
*/
is(platformName: Platforms): boolean {

View File

@ -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) => {
emitter.emit(ev);
});