diff --git a/packages/angular/common/src/overlays/popover.ts b/packages/angular/common/src/overlays/popover.ts index 20caf717be..8abebdb5f0 100644 --- a/packages/angular/common/src/overlays/popover.ts +++ b/packages/angular/common/src/overlays/popover.ts @@ -4,7 +4,6 @@ import { Directive, ElementRef, EventEmitter, - Input, NgZone, TemplateRef, } from '@angular/core'; @@ -77,32 +76,14 @@ export const POPOVER_METHODS = ['present', 'dismiss', 'onDidDismiss', 'onWillDis inputs: POPOVER_INPUTS, methods: POPOVER_METHODS, }) -@Directive() +@Directive({ + // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property + inputs: POPOVER_INPUTS +}) export class IonPopover { // TODO(FW-2827): type @ContentChild(TemplateRef, { static: false }) template: TemplateRef; - @Input() alignment: any; - @Input() animated: any; - @Input() arrow: any; - @Input() keepContentsMounted: any; - @Input() backdropDismiss: any; - @Input() cssClass: any; - @Input() dismissOnSelect: any; - @Input() enterAnimation: any; - @Input() event: any; - @Input() isOpen: any; - @Input() keyboardClose: any; - @Input() leaveAnimation: any; - @Input() mode: any; - @Input() showBackdrop: any; - @Input() translucent: any; - @Input() trigger: any; - @Input() triggerAction: any; - @Input() reference: any; - @Input() size: any; - @Input() side: any; - isCmpOpen = false; protected el: HTMLElement;