Hi,
Yes, though there exists a few known glitches with the experimental.popup
API, the onClosed callback should be invoked. The following example should
work fine, unless you've uncovered an unknown bug:
function closePopup() {
chrome.experimental.popup.onClosed.addListener(function() {
alert('Event Notification: Popup Dismissed');
});
chrome.experimental.extension.getPopupView().close();
}
Jeff
2009/11/12 jachymko <[email protected]>
> Hi,
>
> is the experimental.popup API expected to work? I am trying to handle
> the onClosed event, but it's never fired. I'm using Chromium build
> 31837.
>
> Thanks!
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "Chromium-extensions" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<chromium-extensions%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/chromium-extensions?hl=.
>
>
>
--
You received this message because you are subscribed to the Google Groups
"Chromium-extensions" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/chromium-extensions?hl=.