Introduction
The gform.options
Object configures jQuery UI accordion widgets for the form editor and adds field interfaces.
Overview
Method | Parameters | Description |
---|---|---|
jqEditorAccordions.activate() | Event | Handles the activation of an accordion panel in the form editor. |
jqEditorAccordions.animate | Boolean | Disables animation for accordion panel transitions when set to false. |
jqEditorAccordions.beforeActivate() | Event | Triggered before an accordion panel is activated in the form editor. |
jqEditorAccordions.collapsible | Boolean | Allows all accordion panels to be collapsed when set to true. |
jqEditorAccordions.create() | Event | Handles initialization of the accordion widget in the form editor. |
jqEditorAccordions.header | String | Specifies the selector for accordion panel headers (e.g., button.panel-block-tabs__toggle). |
jqEditorAccordions.heightStyle | String | Sets panel height to content size when set to “content”. |
jqAddFieldAccordions.activate() | Event | Handles the activation of an accordion panel in the add field interface. |
jqAddFieldAccordions.animate | Boolean | Disables animation for accordion panel transitions when set to false. |
jqAddFieldAccordions.collapsible | Boolean | Allows all accordion panels to be collapsed when set to true. |
jqAddFieldAccordions.create() | Event | Handles initialization of the accordion widget in the add field interface. |
jqAddFieldAccordions.heightStyle | String | Sets panel height to content size when set to “content”. |