buttonBar

Examples

kind: ButtonBar
orientation: horizontal
buttons: 
  - kind: ZoomToFit
  - kind: ToggleLayer
    layer: 1
    icon: 
      kind: Icon
      icon: fas-ambulance

Object properties

Name Type Required
kind Constant: ButtonBar yes
orientation One of yes
buttons Array yes

Object information

  • Object with the following properties:
    • kind (required): Constant ButtonBar
    • orientation (required): One of the following types:
      • Constant horizontal
      • Constant vertical
    • buttons (required): Array of: