Button

The button element provides a push button widget, which can optionally be grouped, so that only one button in a group can be active at any given time.

Class, Widget & Style

  • Class: Mapbender\CoreBundle\Element\Button
  • Widget: mapbender.mbButton (mapbender.element.button.js)
  • Style: mapbender.elements.css

Configuration

HTTP Callbacks

None.

JavaScript API

activate

Activates button. Get’s called on click if button is deactivated.

deactivate

Deactivates button. Gets called on click if button is active or when another button of the same group gets activated.

JavaScript Signals

None.

Table Of Contents

Previous topic

Activity Indicator

Next topic

Coordinates Display

This Page