Maps API for JavaScript Developer's Guide

H.ui.base.Button.Options

Type Definition Summary

This object defines the configuration (initialization) options for a button object.

[ For full details, see the Type Definition Details ]

Property Summary

Table 1. Properties
Properties

disabled

A flag to indicate whether the given button object is disabled, the default is false

label

The mark-up (used as innerHTML) to be rendered into the given button object

onStateChange

An event listener for the onstatechange event to be added

data

An arbitrary data object to be stored with the given button object

Type Definition Description

This object defines the configuration (initialization) options for a button object.

Property Details

disabled: {boolean=} [optional]

A flag to indicate whether the given button object is disabled, the default is false

label: {string=} [optional]

The mark-up (used as innerHTML) to be rendered into the given button object

onStateChange: {function(H.util.Event)=} [optional]

An event listener for the onstatechange event to be added

data: {*}

An arbitrary data object to be stored with the given button object