Java Reference
In-Depth Information
Gets or sets the poster attribute, specifying
the image to show while no video data is
available.
HTML5
poster
Gets the intrinsic height of the resource in CSS
pixels.
HTML5
videoHeight
Gets the intrinsic width of the resource in CSS
pixels.
HTML5
videoWidth
Gets or sets the width attribute, determine the
size of the display area.
HTML5
width
DOM eVeNt MODeL aND ObjeCts
The DOM event model was introduced in DOM Level 2. It describes an event system where every
event has an event target. When an event reaches an event target, all registered event handlers on
theĀ event target are triggered for that specific event. The following objects are described by the
DOM event model.
eventtarget
The EventTarget object is inherited by all HTMLElement objects in the DOM. This object provides
the means for the registration and removal of event handlers on the event target.
Methods
MethOD NaMe
DesCrIptION
addEventListener(type, listener,
useCapture)
Registers an event handler on an
element. type is the event type to listen for,
listener is the JavaScript function to call
when the event is fired, and useCapture
determines whether the event is captured
or bubbles.
removeEventListener(type, listener,
useCapture)
Removes a listener from the element.
event
When an event fires, an Event object is passed to the event handler if one is specified. This object
contains contextual information about an event.
Search WWH ::




Custom Search