AreaRaiBox

(esrith/amos/form/AreaRaiBox)

AreaRaiBox control includes three number boxes to enter area in thai units (rai, ngaan, square wa).

Description
Type Description
area AreaRai

Area associated with this control. The area will be null if a number box contain invalid number (eg. negative number, non-numeric character, etc.).

label String

Label for the AreaRaiBox.

numberBoxWidth String, Number

Width of number boxes.

Return type Description
reset() None

Clear all number boxes and set area to null.

Description
area-Changed

Fires when user change and unfocus the number box.

Constructors Detail
Properties Detail
<AreaRai>
area

Area associated with this control. The area will be null if a number box contain invalid number (eg. negative number, non-numeric character, etc.).

<String>
label

Label for the AreaRaiBox.

<String, Number>
numberBoxWidth

Width of number boxes.

Methods Detail
reset
()

Clear all number boxes and set area to null.

Events Detail
area-Changed

Fires when user change and unfocus the number box.

Event Payload:
  • <AreaRai> area

    The new area. The area will be null if the numberbox contain invalid number (eg. negative number, non-numeric character, etc.).