当serviceWorker的状态发生改变的时候出发statechange事件
基本信息
- Specification
- To be specified
- 接口继承
CallEvent
- 冒泡
- 无
- 是否可以取消
- 否
- Target
- Call, CallGroup
- 默认行为
- 无
事件属性
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? |
state 只读 |
DOMString (string) | The current state of the call. |
call 只读 |
Call | The call concerned by the event. |