Interface ClearHandler
- All Superinterfaces:
EventHandler
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onClear
(ClearEvent event) Notification method fired when the canvas is removed from the DOM via a call toclear()
.
-
Method Details
-
onClear
Notification method fired when the canvas is removed from the DOM via a call toclear()
. Canvases are cleared recursively, so if a parent is clear()'d, all of its descendants will also be cleared. This notification is fired before the canvas has been removed from the DOM, andisDrawn()
will returntrue
if called while the notification is running.- Parameters:
event
- the event
-