Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Namespaces

Classes

Interfaces

Type Aliases

Type Aliases

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

Type Parameters

  • TWidget

    The type of the widget that is being destroyed.

Type declaration

    • (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.

      Parameters

      • this: TWidget
      • widget: TWidget

      Returns void

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

Type declaration

    • 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).

      Parameters

      Returns void

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

Type declaration

    • 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.

      Parameters

      Returns void

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

Type declaration

    • 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.

      Parameters

      Returns void

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

Type Parameters

  • TWidget

    The type of the widget that is being refreshed.

Type declaration

    • (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.

      Parameters

      • this: TWidget
      • widget: TWidget

      Returns void

Generated using TypeDoc