Maps API for JavaScript Developer's Guide

H.util.ContextItem.Options

Type Definition Summary

This type defines options which can be used to initialize the context item.

[ For full details, see the Type Definition Details ]

Property Summary

Table 1. Properties
Properties

label

The label for the context item

disabled

A flag indicating whether the context item is disabled (true) or not (false, default)

callback

Optional callback function to call when the context item is selected

Type Definition Description

This type defines options which can be used to initialize the context item.

Property Details

label: {string=} [optional]

The label for the context item

disabled: {boolean=} [optional]

A flag indicating whether the context item is disabled (true) or not (false, default)

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

Optional callback function to call when the context item is selected