Control Component

The WebMAP base components are used to manage general things that all the WebMAP's components must implement. The ControlComponent class for instance is the base class for all the others components.

PME Support

Properties

Property

Get/Set

Notify Changes

Details

enabled: boolean

Yes

No

Gets or sets a value indicating whether the control can respond to user interaction.

events: boolean

Yes

No

Gets or sets the list of event.

height: number

Yes

No

Gets or sets the height of the control.

model: any

Yes

No

Gets or sets the model of the control.

name: string

Yes

No

Gets or sets the name of the control.

text: string

Yes

Yes

Gets or sets the text associated with this control.

visible: boolean

Yes

No

Gets or sets a value indicating whether the control and all its child controls are displayed.

width: number

Yes

No

Gets or sets the width of the control.

Methods

Method

Supported

Details

isBindedEvent

Yes

Indicates if an event is binded in the server or not.

Events

Event

Supported

Parameter

Details

blur

Yes

$event: any

Triggers LostFocus Event.

change

Yes

$event: any

Triggers TextChanged Event.

enter

Yes

$event: any

Triggers Enter Event.

focus

Yes

$event: any

Triggers GotFocus Event.

keyPress

Yes

$event: any

Triggers keyPress Event.

keyDown

Yes

$event: any

Triggers keyDown Event.

leave

Yes

$event: any

Triggers Leave Event.

Last updated