进度条

进度事件会被触发用来指示一个操作正在进行中。

基本信息

                 规范文档      Progress
接口
ProgressEvent
是否冒泡
是否可取消
Target
Element
默认操作

属性

Property Type Description
target 只读 EventTarget The event target (the topmost target in the DOM tree).
type 只读 DOMString The type of event.
bubbles 只读 Boolean Whether the event normally bubbles or not
cancelable 只读 Boolean Whether the event is cancellable or not?
lengthComputable boolean Specifies whether or not the total size of the transfer is known. Read only.
loaded unsigned long (long) The number of bytes transferred since the beginning of the operation. This doesn't include headers and other overhead, but only the content itself. Read only.
total unsigned long (long) The total number of bytes of content that will be transferred during the operation. If the total size is unknown, this value is zero. Read only.

相关事件

了解更多

文档标签和贡献者

 此页面的贡献者: roberthow, fengfu
 最后编辑者: roberthow,