Skip to content

Commit

Permalink
Merge pull request #91 from Tencent/fix/popup
Browse files Browse the repository at this point in the history
fix(popup): correct event param
  • Loading branch information
LeeJim authored Jan 8, 2022
2 parents b4ec433 + 9e2c8b2 commit 194dedd
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 194dedd

Please sign in to comment.