HTMLAudioElement
HTMLAudioElement接口表示<audio>元素。
HTMLAudioElement()
继承层次
Object.prototype
Function.prototype
EventTarget
Node
Element
HTMLElement
HTMLMediaElement
HTMLAudioElement
构造函数
程序不能直接调用该构造函数,否则将会产生异常。
相应地应该使用document.createElement(“audio”)或new Audio()方法。
属性列表
| 属性 | 说明 |
|---|---|
| - | - |
方法列表
| 语法 | 说明 |
|---|---|
| - | - |
HTMLAudioElement.prototype
继承层次
Object.prototype
EventTarget.prototype
Node.prototype
Element.prototype
HTMLElement.prototype
HTMLMediaElement.prototype
HTMLAudioElement.prototype
属性列表
从其父级继承的属性请查阅: HTMLMediaElement。
| 属性 | 说明 |
|---|---|
| - | - |
方法列表
从其父级继承的方法请查阅: HTMLMediaElement。
| 语法 | 说明 |
|---|---|
| - | - |
HTMLAudioElement实例
Object.prototype
EventTarget.prototype
Node.prototype
Element.prototype
HTMLElement.prototype
HTMLMediaElement.prototype
HTMLAudioElement.prototype
<audio> 元素