Skip to content
This repository has been archived by the owner on Nov 4, 2023. It is now read-only.

Popup Auto Closure #758

Answered by Erelen-Laiquendi
FaiekA asked this question in Q&A
Aug 23, 2021 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

Solution:

action: function (item, entity) {
   this.$scope.openPopup(item, entity);
   this.$scope.popupTimeout = setTimeout(function () {
      this.$scope.closePopup();
   }.bind(this), 5 * 1000);
},

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@FaiekA
Comment options

Answer selected by FaiekA
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants