HTML and CSS Reference
In-Depth Information
JavaScript Element
Description
ArrayBuffer
A fixed-length sequence of bytes created using the constructor
newArrayBuffer(
length
)
where
length
is the length of the sequence
Properties
byteLength
The length of the sequence in bytes
ArrayBufferView
A superclass object that provides access to the bytes of an
ArrayBuffer
object
Properties
buffer
The
ArrayBuffer
object being viewed
byteLength
The length of the
ArrayBuffer
object
byteOffset
The starting position of the
ArrayBuffer
object being viewed
Attribute
An element attribute
Properties
localName
The attribute name without the namespace prefix
name
The attribute name with the namespace prefix
namespaceURI
The URI of the attribute's namespace
prefix
The namespace prefix of the attribute name
value
The attribute value
Audio
An embedded audio clip in the Web document
Properties
Inherits the properties of the MediaElement object
Methods
Inherits the methods of the MediaElement object
BeforeUnloadEvent
An event object for
unload
events
Properties
returnValue
A message displayed in a confirmation dialog box before navigating away from
the page
Blob
A chunk of data used in data transfers between APIs
Properties
size
The size of the blob in bytes
type
The MIME type of the blob
Methods
slice(
start
,
length
[,
content
])
Returns a new blob object where
start
is the starting offset,
length
is the blob
length in bytes, and
content
is the value of the type property
BlobBuilder
An object used to create new blob objects with the constructor
new BlobBuilder()
Methods
append(
text
)
Appends
text
in UTF-8 format to the new blob object
append(
data
)
Appends blob data to the new blob
append(
arrayBuffer
)
Appends bytes from an
ArrayBuffer
object to the new blob
getBlob([
content
])
Returns a blob representing all the data that has been appended to the new blob