Static properties and methods related to the page.

Constructors

Methods

  • Add an event listener to the form page.

    Parameters

    • type:
          | "sectionRendered"
          | "rendered"
          | "viewrendered"
          | "disposed"
          | "resized"
          | "scrolled"
          | "navigated"
          | "formStatusChanged"
          | "navigatedAway"

      Type of the event listener, defined in the PageEventsEnum.

    • callback: (ev: any) => void

      A callback function

    Returns void

  • Gets the current form page.

    Returns any

  • Returns HTMLElement

  • Navigates to a page of the form page.

    Parameters

    • id: string

      html element id

    Returns void

  • Navigates to next page of the form page depending of given condition. If condition is 'fullfilled' the next editable page is navigated to. If condition is 'visible' the next visible page is navigated to.

    Parameters

    • Optionalcondition: NextPageConditionEnum

      define if next page is navigated to depending of fullfilled or visible condition.

    Returns void

  • Always remove previously registered event listeners!

    Parameters

    • type:
          | "sectionRendered"
          | "rendered"
          | "viewrendered"
          | "disposed"
          | "resized"
          | "scrolled"
          | "navigated"
          | "formStatusChanged"
          | "navigatedAway"

      Type of the event listener, defined in the PageEventsEnum.

    • callback: (ev: any) => void

      A callback function.

    Returns void

  • Scroll to a html element on the page.

    Parameters

    • element: HTMLElement
    • duration: number = 200

      the duration of the scrolling, default = 200;

    Returns void

  • Returns void