Action handlers can be attached via the attribute names listed in the table below for the corresponding HTML event
Attribute | Type | Value | Description |
---|---|---|---|
onChange |
closure-action |
<closure-action> |
triggers associated action when the change event occurs |
onClick |
closure-action |
<closure-action> |
triggers associated action when the click event occurs |
contextMenu |
closure-action |
<closure-action> |
triggers associated action when the contextmenu event occurs |
onDoubleClick |
closure-action |
<closure-action> |
triggers associated action when the dblclick event occurs |
onDrag |
closure-action |
<closure-action> |
triggers associated action when the drag event occurs |
onDragEnd |
closure-action |
<closure-action> |
triggers associated action when the dragend event occurs |
onDragEnter |
closure-action |
<closure-action> |
triggers associated action when the dragenter event occurs |
onDragLeave |
closure-action |
<closure-action> |
triggers associated action when the dragleave event occurs |
onDragOver |
closure-action |
<closure-action> |
triggers associated action when the dragover event occurs |
onDragStart |
closure-action |
<closure-action> |
triggers associated action when the dragstart event occurs |
onDrop |
closure-action |
<closure-action> |
triggers associated action when the drop event occurs |
onEnter |
closure-action |
<closure-action> |
triggers associated action when the enter event occurs |
onEscape |
closure-action |
<closure-action> |
triggers associated action when the escape-press event occurs |
onFocusIn |
closure-action |
<closure-action> |
triggers associated action when the focusin event occurs |
onFocusOut |
closure-action |
<closure-action> |
triggers associated action when the focusout event occurs |
onInput |
closure-action |
<closure-action> |
triggers associated action when the input event occurs |
onKeyDown |
closure-action |
<closure-action> |
triggers associated action when the keydown event occurs |
onKeyPress |
closure-action |
<closure-action> |
triggers associated action when the keypress event occurs |
onKeyUp |
closure-action |
<closure-action> |
triggers associated action when the keyup event occurs |
onMouseDown |
closure-action |
<closure-action> |
triggers associated action when the mousedown event occurs |
onMouseEnter |
closure-action |
<closure-action> |
triggers associated action when the mouseenter event occurs |
onMouseLeave |
closure-action |
<closure-action> |
triggers associated action when the mouseleave event occurs |
onMouseMove |
closure-action |
<closure-action> |
triggers associated action when the mousemove event occurs |
onMouseUp |
closure-action |
<closure-action> |
triggers associated action when the mouseup event occurs |
onSubmit |
closure-action |
<closure-action> |
triggers associated action when the submit event occurs |
onTouchCancel |
closure-action |
<closure-action> |
triggers associated action when the touchcancel event occurs |
onTouchEnd |
closure-action |
<closure-action> |
triggers associated action when the touchend event occurs |
onTouchMove |
closure-action |
<closure-action> |
triggers associated action when the touchmove event occurs |
onTouchStart |
closure-action |
<closure-action> |
triggers associated action when the touchstart event occurs |