tsdoc
    Preparing search index...

    Function getViewState

    • Collect and encode state for input controls associated with the specified form element. This will include all input controls of type hidden.

      Usage:

      const state = faces.getViewState(form);

      Parameters

      • form: Element

        The form element whose contained input controls will be collected and encoded. Only successful controls will be collected and encoded in accordance with: Section 17.13.2 of the HTML Specification.

      Returns string

      The encoded state for the specified form's input controls.

      2.0