This repository has been archived by the owner on Nov 4, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 278
Working example of popup auto closure #727
Comments
Hi , Any assistance on this would be great, have been struggling with this for a while, to no avail. My tileboard is made up of popups and this will really assist.
I tried this as well but no luck. |
@flick116
}, I requested help on the Q&A and hoping to get some help #758 |
That's great - I'll give that a test. Thanks for this |
Solution: action: function (item, entity) {
this.$scope.openPopup(item, entity);
this.$scope.popupTimeout = setTimeout(function () {
this.$scope.closePopup();
}.bind(this), 5 * 1000);
}, |
@Erelen-Laiquendi - Thanks a mill this works - flawlessly |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Can we have a documented example of how to setup the popup auto close function. I have tested using the following defined on TYPES.POPUP and it is not working:
The popup opens as expected and after the timeout of 1 second the following error is seen on the screen and in the browser console and the popup does not close:
Uncaught TypeError: Cannot read property 'closePopup' of undefined
The text was updated successfully, but these errors were encountered: