Class: ButtonGroup

OpenSeadragon.ButtonGroup

Manages events on groups of buttons.

Constructor

new ButtonGroup(options)

Parameters:
Name Type Description
options Object A dictionary of settings applied against the entire group of buttons.
Properties
Name Type Attributes Description
buttons Array Array of buttons
element Element <optional>
Element to use as the container
Source:

Members

buttons :Array

An array containing the buttons themselves.
Type:
  • Array
Source:

element :Element

The shared container for the buttons.
Type:
  • Element
Source:

tracker :OpenSeadragon.MouseTracker

Tracks mouse/touch/key events across the group of buttons.
Type:
Source:

Methods

addButton(button)

Adds the given button to this button group.
Parameters:
Name Type Description
button OpenSeadragon.Button
Source: