new UserInterfaceControl(terria)
| Name | Type | Description |
|---|---|---|
terria |
Object |
The Terria instance. |
Members
-
cssClassString
-
Gets or sets the CSS class of the control. This property is observable.
-
isActiveBoolean
-
Gets or sets the property describing whether or not the control is in the active state. This property is observable.
-
nameString
-
Gets or sets the name of the control which is set as the controls title. This property is observable.
-
svgHeightNumber
-
Gets or sets the height of the svg icon. This property is observable.
-
svgIconObject
-
Gets or sets the svg icon of the control. This property is observable.
-
svgWidthNumber
-
Gets or sets the width of the svg icon. This property is observable.
-
terriaObject
-
Gets the Terria instance.
-
textString
-
Gets or sets the text to be displayed in the UI control. This property is observable.
Methods
-
activate()
engineExtensions/widgets/navigation/UserInterfaceControl.js, line 79 -
When implemented in a derived class, performs an action when the user clicks on this control.