scala-js/scala-js-dom

"closed" property on Window object

Closed this issue · 0 comments

It seems like there's no way to detect if window popup was closed, since dom.raw.Window doesn't have closed property.

It can be done using p.asInstanceOf[js.Dynamic].closed.asInstanceOf[Boolean] while there is no support for this