Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Type Aliases

AjaxStatusEventType: "start" | "success" | "error" | "complete"

Available types of AJAX related events to which you can listen.

PfAjaxCompleteCallback: ((this: Document, xhr: jqXHR, settings: AjaxSettings) => void)

Type declaration

    • Callback for when an AJAX request completes, either successfully or with an error. Usually set via <p:ajaxStatus oncomplete="..."/>. This callback applies when <p:ajax /> is used.

      Parameters

      Returns void

PfAjaxErrorCallback: ((this: Document, xhr: jqXHR, settings: AjaxSettings, errorThrown: string) => void)

Type declaration

    • Callback for when an AJAX request fails. Usually set via <p:ajaxStatus onerror="..."/>. This callback applies when <p:ajax /> is used.

      Parameters

      Returns void

PfAjaxStartCallback: ((this: Document) => void)

Type declaration

    • (this: Document): void
    • Callback for when an AJAX request starts. Usually set via <p:ajaxStatus onstart="..."/>. This callback applies when <p:ajax /> is used.

      Parameters

      • this: Document

      Returns void

PfAjaxSuccessCallback: ((this: Document, xhr: jqXHR, settings: AjaxSettings) => void)

Type declaration

    • Callback for when an AJAX request succeeds. Usually set via <p:ajaxStatus onsuccess="..."/>. This callback applies when <p:ajax /> is used.

      Parameters

      Returns void

Generated using TypeDoc