如视 Five SDK
Preparing search index...
five
StateEvent
Interface StateEvent
状态变更事件
interface
StateEvent
{
defaultPrevented
:
boolean
;
state
:
State
;
timeStamp
:
number
;
type
:
string
;
userAction
:
boolean
;
preventDefault
()
:
void
;
}
Hierarchy (
View Summary
)
BaseEvent
StateEvent
GestureEvent
ModeChangeEvent
PanoEvent
Index
Properties
default
Prevented
state
time
Stamp
type
user
Action
Methods
prevent
Default
Properties
Readonly
default
Prevented
defaultPrevented
:
boolean
是否已调用过 preventDefault
state
state
:
State
当前的 Five 状态
time
Stamp
timeStamp
:
number
事件触发时的时间戳
type
type
:
string
事件类型名称
user
Action
userAction
:
boolean
是否由用户交互触发
Methods
prevent
Default
preventDefault
()
:
void
阻止事件的默认行为
Returns
void
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Properties
default
Prevented
state
time
Stamp
type
user
Action
Methods
prevent
Default
如视 Five SDK
Loading...
状态变更事件