Skip to content

Events and Handlers

The Panel component has the following events and handlers available for use:

Events

Event
Description
On Before Mount
Triggers immediately before the component is mounted and appeared on the page.
On Mounted
Triggers immediately after the component is mounted and appeared on the page.
On Before Unmount
Triggers immediately before the component is unmounted and destroyed. Perform any necessary cleanup in this method, such as invalidating timers or cleaning up any RT subscriptions that were created in this component.
On Mouse Over Event
Fires when the mouse pointer hovers over the component.
On Mouse Out Event
Fires when the mouse pointer leaves the component boundaries.
On Click Event
Fires when the user clicks the mouse or taps the component.
On Scroll
Triggers when the component's content is scrolled. Handler is triggered only if the value in the Attachment parameter is selected as scroll or auto.
On Visibility Change
Gets activated when the visibility state of the component is altered. You can use this event to define actions that need to take place when the component becomes visible or hidden.

Handlers

Handler
Description
Class List Logic
This logic involves modifying the CSS classes associated with the component dynamically.
Styles Logic
Allows you to change the styles of the component dynamically.
Tooltip Text Logic
Determines what text should be shown in the tooltip.
Tooltip Visibility Logic
Determines if the tooltip should be visible. If the handler returns true, the tooltip will be displayed.
Visibility Logic
Allows controlling the visibility of the component based on certain conditions. You can use this event to show or hide the component depending on user actions or other factors. If the handler returns true, the component will be visible.
Anchor Logic
Determines what anchor should be used for the component.