input.releasePointerEvent

releasePointerEvent(eventType: string, region: Rect | Polygon | Line | Ellipse, callback: Function) → {}

allows the removal of event listeners from the object target.

// release the registered region on the 'pointerdown' event
me.input.releasePointerEvent('pointerdown', this);
See: W3C Pointer Event list
Parameters:
Name Type Attributes Default Description
eventType string

The event type for which the object was registered. See input.registerPointerEvent

region Rect | Polygon | Line | Ellipse

the registered region to release for this event

callback Function

<optional>

"all"

if specified unregister the event only for the specific callback

Returns:
Type Description
Powered by webdoc!