Skip to content

Commit

Permalink
fix(popup): correct event param
Browse files Browse the repository at this point in the history
  • Loading branch information
LeeJim committed Jan 7, 2022
1 parent 1d6d0a8 commit 9e2c8b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/popup/popup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,12 @@ export default class Popup extends SuperComponent {
onOverlayClick() {
const { closeOnOverlayClick } = this.properties;
if (closeOnOverlayClick) {
this.triggerEvent('visible-change', { visiable: false });
this.triggerEvent('visible-change', { visible: false });
}
}

onCloseClick() {
this.triggerEvent('visible-change', { visiable: false });
this.triggerEvent('visible-change', { visible: false });
}

preventEvent() {}
Expand Down

0 comments on commit 9e2c8b2

Please sign in to comment.