chore: reference inputs from constant

This commit is contained in:
Sean Perkins
2023-07-26 12:10:47 -04:00
parent 1fd83dbacd
commit f185499b1c

View File

@@ -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<any>;
@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;