Component
= type {
...added methods below... }
Method signature | Return type |
---|---|
element
|
Done
|
The underlying DOM element of the component. | |
flexible:=(
value:
Boolean)
|
Done
|
Set whether this component will dynamically fill up any empty space in the direction of its parent container. | |
height
|
Number
|
The height of this component. | |
isFlexible
|
Boolean
|
Whether this component will dynamically fill up any empty space in the direction of its parent container. | |
onKeyPressDo(
f:
KeyResponse)
|
Done
|
Respond to a key press in this component with the given event. | |
onKeyReleaseDo(
f:
KeyResponse)
|
Done
|
Respond to a key release in this component with the given event. | |
onKeyTypeDo(
f:
KeyResponse)
|
Done
|
Respond to a key type (press and release) in this component with the given event. | |
onMouseClickDo(
f:
MouseResponse)
|
Done
|
Respond to a mouse click (press and release) in this component with the given event. | |
onMouseDragDo(
f:
MouseResponse)
|
Done
|
Respond to a mouse drag (move during press) in this component with the given event. | |
onMouseEnterDo(
f:
MouseResponse)
|
Done
|
Respond to a mouse entering this component with the given event. | |
onMouseExitDo(
f:
MouseResponse)
|
Done
|
Respond to a mouse exiting this component with the given event. | |
onMouseMoveDo(
f:
MouseResponse)
|
Done
|
Respond to a mouse move in this component with the given event. | |
onMousePressDo(
f:
MouseResponse)
|
Done
|
Respond to a mouse press in this component with the given event. | |
onMouseReleaseDo(
f:
MouseResponse)
|
Done
|
Respond to a mouse release in this component with the given event. | |
width
|
Number
|
The width of this component. |