Class: TextButton

ol.control. TextButton


new TextButton( [options])

A simple push button control drawn as text

Parameters:
Name Type Argument Description
options Object <optional>

Control options.

Properties
Name Type Description
className String

class of the control

title String

title of the control

html String

html to insert in the control

handleClick function

callback when control is clicked (or use change:active event)

Extends