Interface ActionClickEventHandler


  • public interface ActionClickEventHandler
    Callback interface of ActionItem utility to manage CLICK events on toast action.
    Author:
    Andrea "Stock" Stocchero
    • Method Detail

      • onClick

        boolean onClick​(ToastItem item,
                        NativeMouseEvent event)
        Invoked to manage CLICK events on toast action.
        Parameters:
        item - toast item affected by event
        event - event fired on item
        Returns:
        true if the toaster must be close after click on action