Button Layout

Button Layout

Function: a!buttonLayout()

Displays a list of buttons grouped by prominence. Use this layout in cases where prominence needs to be explicitly specified.

Parameters

Name Keyword Type Description
Primary Buttons primaryButtons Array of Buttons Array of buttons created with a!buttonWidget() to display in the prominent position, with the first item in the array being the most prominent.
Secondary Buttons secondaryButtons Array of Buttons Array of buttons created with a!buttonWidget() to display in the less prominent position with the first item in the array being the least prominent.
Visibility showWhen Boolean Determines whether the layout is displayed on the interface. When set to false, the layout is hidden and is not evaluated. Default: true.

Notes

  • For web and mobile tablets, buttons display in a horizontal list. The most prominent buttons appear at the far right and the least prominent buttons appear at the far left.
  • For mobile phones, buttons display in a vertical line. The most prominent buttons appear at the top and the least prominent buttons appear at the bottom.
FEEDBACK