UNPKG

@ionic/angular

Version:

Angular specific wrappers for @ionic/core

36 lines 2.27 kB
import { __decorate } from "tslib"; /* tslint:disable */ /* auto-generated angular directive proxies */ import { ChangeDetectionStrategy, Component } from '@angular/core'; import { ProxyCmp } from './angular-component-lib/utils'; import { defineCustomElement as defineIonItemOption } from '@ionic/core/components/ion-item-option.js'; import * as i0 from "@angular/core"; let IonItemOption = class IonItemOption { z; el; 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: IonItemOption, 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: IonItemOption, isStandalone: true, selector: "ion-item-option", inputs: { color: "color", disabled: "disabled", download: "download", expandable: "expandable", href: "href", mode: "mode", rel: "rel", target: "target", type: "type" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }; IonItemOption = __decorate([ ProxyCmp({ defineCustomElementFn: defineIonItemOption, inputs: ['color', 'disabled', 'download', 'expandable', 'href', 'mode', 'rel', 'target', 'type'] }) ], IonItemOption); export { IonItemOption }; i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: IonItemOption, decorators: [{ type: Component, args: [{ selector: 'ion-item-option', changeDetection: ChangeDetectionStrategy.OnPush, template: '<ng-content></ng-content>', // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property inputs: ['color', 'disabled', 'download', 'expandable', 'href', 'mode', 'rel', 'target', 'type'], }] }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] }); //# sourceMappingURL=ion-item-option.js.map