Link Search Menu Expand Document

arena-py API v1.0.1

arena.attributes.click_listener

class ClickListener(arena.attributes.attribute.Attribute):

ClickListener attribute class to manage its properties in the ARENA: Object will listen for mouse events like clicks. Usage: click_listener=ClickListener(...) or clickable=True

Parameters
  • bool bubble: Set false to prevent click events from bubbling up to parent objects. See <https: //developer.mozilla.org/en-US/docs/Learn/JavaScript/Building_blocks/Events#event_bubbling> Event Bubbling. Defaults to 'True' (optional)
  • bool enabled: Publish events, set false to disable. Defaults to 'True' (optional)
ClickListener(**kwargs)