UNPKG

@ionic/angular

Version:

Angular specific wrappers for @ionic/core

43 lines 2.94 kB
import { __decorate } from "tslib"; /* tslint:disable */ /* auto-generated angular directive proxies */ import { ChangeDetectionStrategy, Component, EventEmitter, Output } from '@angular/core'; import { ProxyCmp } from './angular-component-lib/utils'; import { defineCustomElement as defineIonFabButton } from '@ionic/core/components/ion-fab-button.js'; import * as i0 from "@angular/core"; let IonFabButton = class IonFabButton { z; el; ionFocus = new EventEmitter(); ionBlur = new EventEmitter(); constructor(c, r, z) { this.z = z; c.detach(); this.el = r.nativeElement; } /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: IonFabButton, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); /** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.0", type: IonFabButton, isStandalone: true, selector: "ion-fab-button", inputs: { activated: "activated", closeIcon: "closeIcon", color: "color", disabled: "disabled", download: "download", form: "form", href: "href", mode: "mode", rel: "rel", routerAnimation: "routerAnimation", routerDirection: "routerDirection", show: "show", size: "size", target: "target", translucent: "translucent", type: "type" }, outputs: { ionFocus: "ionFocus", ionBlur: "ionBlur" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }; IonFabButton = __decorate([ ProxyCmp({ defineCustomElementFn: defineIonFabButton, inputs: ['activated', 'closeIcon', 'color', 'disabled', 'download', 'form', 'href', 'mode', 'rel', 'routerAnimation', 'routerDirection', 'show', 'size', 'target', 'translucent', 'type'] }) ], IonFabButton); export { IonFabButton }; i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: IonFabButton, decorators: [{ type: Component, args: [{ selector: 'ion-fab-button', changeDetection: ChangeDetectionStrategy.OnPush, template: '<ng-content></ng-content>', // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property inputs: ['activated', 'closeIcon', 'color', 'disabled', 'download', 'form', 'href', 'mode', 'rel', 'routerAnimation', 'routerDirection', 'show', 'size', 'target', 'translucent', 'type'], outputs: ['ionFocus', 'ionBlur'], }] }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }], propDecorators: { ionFocus: [{ type: Output }], ionBlur: [{ type: Output }] } }); //# sourceMappingURL=ion-fab-button.js.map