-
Notifications
You must be signed in to change notification settings - Fork 16
DOM Events API
Filatov Dmitry edited this page Dec 22, 2018
·
14 revisions
You can subscribe to the DOM events just passing corresponding attributes to a virtual node.
<div onClick={ function() { ... } }>
Supported DOM events:
- onAnimationEnd
- onAnimationIteration
- onAnimationStart
- onBlur
- onCanPlay
- onCanPlayThrough
- onChange
- onClick
- onComplete
- onContextMenu
- onCopy
- onCut
- onDblClick
- onDrag
- onDragEnd
- onDragEnter
- onDragLeave
- onDragOver
- onDragStart
- onDrop
- onDurationChange
- onEmptied
- onEnded
- onError
- onFocus
- onGotPointerCapture
- onInput
- onKeyDown
- onKeyPress
- onKeyUp
- onLoad
- onLoadedData
- onLoadedMetadata
- onLoadStart
- onLostPointerCapture
- onMouseDown
- onMouseEnter
- onMouseLeave
- onMouseMove
- onMouseOut
- onMouseOver
- onMouseUp
- onPaste
- onPause
- onPlay
- onPlaying
- onPointerCancel
- onPointerDown
- onPointerEnter
- onPointerLeave
- onPointerMove
- onPointerOut
- onPointerOver
- onPointerUp
- onProgress
- onRateChange
- onScroll
- onSeeked
- onSeeking
- onStalled
- onSubmit
- onSuspend
- onTimeUpdate
- onTouchCancel
- onTouchEnd
- onTouchMove
- onTouchStart
- onTransitionEnd
- onVolumeChange
- onWaiting
- onWheel