![]() |
VOOZH | about |
The SVG Window.closed property indicates whether the referenced window is closed or not.
Syntax:
const isClosed = windowRef.closed
Return value: This property returns the boolean value of the event element.
Example 1: In this example, we will use onclick event.
Output:
👁 ImageExample 2: In this example, we will use onclick event.
Output:
👁 ImageExample 3: In this example, we will use onmouseover event.
Output:
👁 ImageExample 4: In this example, we will use onmouseover event.
Output:
👁 Image