Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Namespaces

Classes

Interfaces

Type aliases

Type aliases

DestroyListener

DestroyListener<TWidget>: (this: TWidget, widget: TWidget) => void

A destroy listener for a PrimeFaces widget. It is invoked when the widget is removed, such as during AJAX updates. Use BaseWidget.addDestroyListener to add a destroy listener.

Type parameters

  • TWidget

    The type of the widget that is being destroyed.

Type declaration

    • (this: TWidget, widget: TWidget): void
    • Parameters

      • this: TWidget
      • widget: TWidget

        The widget that is being destroyed.

      Returns void

PostConstructCallback

PostConstructCallback: (this: BaseWidget, widget: BaseWidget) => void

A callback for a PrimeFaces widget. An optional callback that is invoked after a widget was created successfully, at the end of the init method. This is usually specified via the widgetPostConstruct attribute on the JSF component. Note that this is also called during a refresh (AJAX update).

Type declaration

PostRefreshCallback

PostRefreshCallback: (this: BaseWidget, widget: BaseWidget) => void

An optional callback that is invoked after a widget was refreshed after an AJAX update, at the end of the refresh method. This is usually specified via the widgetPostRefresh attribute on the JSF component.

Type declaration

PreDestroyCallback

PreDestroyCallback: (this: BaseWidget, widget: BaseWidget) => void

An optional callback that is invoked before a widget is about to be destroyed, e.g. when the component was removed at the end of an AJAX update. This is called at the beginning of the destroy method. This is usually specified via the widgetPreDestroy attribute on the JSF component.

Type declaration

RefreshListener

RefreshListener<TWidget>: (this: TWidget, widget: TWidget) => void

A refresh listener for a PrimeFaces widget. It is invoked when the widget is reloaded, such as during AJAX updates. Use BaseWidget.addRefreshListener to add a refresh listener.

Type parameters

  • TWidget

    The type of the widget that is being refreshed.

Type declaration

    • (this: TWidget, widget: TWidget): void
    • Parameters

      • this: TWidget
      • widget: TWidget

        The widget that is being refreshed.

      Returns void

Generated using TypeDoc