attributes for common UI events onclick a pointer button was clicked ondblclick a pointer button was double clicked onmousedown a pointer button was pressed down onmouseup a pointer button was released onmousemove a pointer was moved onto the element onmouseout a pointer was moved away from the element onkeypress a key was pressed and released onkeydown a key was pressed down onkeyup a key was released |
QName | Type | Fixed | Default | Use | Inheritable | Annotation |
---|---|---|---|---|---|---|
onclick | Script | optional | ||||
ondblclick | Script | optional | ||||
onkeydown | Script | optional | ||||
onkeypress | Script | optional | ||||
onkeyup | Script | optional | ||||
onmousedown | Script | optional | ||||
onmousemove | Script | optional | ||||
onmouseout | Script | optional | ||||
onmouseover | Script | optional | ||||
onmouseup | Script | optional |
<xs:attributeGroup name="events"> <xs:annotation> <xs:documentation>attributes for common UI events onclick a pointer button was clicked ondblclick a pointer button was double clicked onmousedown a pointer button was pressed down onmouseup a pointer button was released onmousemove a pointer was moved onto the element onmouseout a pointer was moved away from the element onkeypress a key was pressed and released onkeydown a key was pressed down onkeyup a key was released</xs:documentation> </xs:annotation> <xs:attribute name="onclick" type="Script"/> <xs:attribute name="ondblclick" type="Script"/> <xs:attribute name="onmousedown" type="Script"/> <xs:attribute name="onmouseup" type="Script"/> <xs:attribute name="onmouseover" type="Script"/> <xs:attribute name="onmousemove" type="Script"/> <xs:attribute name="onmouseout" type="Script"/> <xs:attribute name="onkeypress" type="Script"/> <xs:attribute name="onkeydown" type="Script"/> <xs:attribute name="onkeyup" type="Script"/> </xs:attributeGroup> |