diff --git a/core/src/components/popover/usage/angular.md b/core/src/components/popover/usage/angular.md index 225dffbf8e..5e096f9938 100644 --- a/core/src/components/popover/usage/angular.md +++ b/core/src/components/popover/usage/angular.md @@ -14,7 +14,7 @@ export class PopoverExample { async presentPopover(ev: any) { const popover = await this.popoverController.create({ component: PopoverComponent, - event: event, + event: ev, translucent: true }); return await popover.present(); diff --git a/core/src/components/popover/usage/javascript.md b/core/src/components/popover/usage/javascript.md index 3fa2b9c764..5595701087 100644 --- a/core/src/components/popover/usage/javascript.md +++ b/core/src/components/popover/usage/javascript.md @@ -6,7 +6,7 @@ async function presentPopover(ev) { const popover = await popoverController.create({ component: 'popover-example-page', translucent: true - event, + event: ev, }); return await popover.present(); }