Properties
Optional
autoFocus
autoFocus?: boolean
Optional
beforeConfirm
beforeConfirm?: ((e, context) => any)
Type declaration
- (e, context): any
Parameters
e: any
context: {
intersectObject?: any;
reject: ((reason?) => void);
resolve: ((value) => void);
worldPos?: Vector3;
}
Optional
intersectObject?: any
reject: ((reason?) => void)
- (reason?): void
Returns void
resolve: ((value) => void)
- (value): void
Returns void
Optional
worldPos?: Vector3
Returns any
Optional
callUpdateWhenAwake
callUpdateWhenAwake?: boolean
Optional
enterKeyCb
enterKeyCb?: ((e, context) => Promise<any>)
Type declaration
- (e, context): Promise<any>
Parameters
e: any
context: {
reject: ((reason?) => void);
resolve: ((value) => void);
}
reject: ((reason?) => void)
- (reason?): void
Returns void
resolve: ((value) => void)
- (value): void
Returns void
Returns Promise<any>
Optional
escCancel
escCancel?: boolean
Optional
keydownCb
keydownCb?: ((e, context) => Promise<any>)
Type declaration
- (e, context): Promise<any>
Parameters
e: any
context: {
reject: ((reason?) => void);
resolve: ((value) => void);
}
reject: ((reason?) => void)
- (reason?): void
Returns void
resolve: ((value) => void)
- (value): void
Returns void
Returns Promise<any>
Optional
rightClickCancel
rightClickCancel?: boolean
Optional
rightClickCb
rightClickCb?: ((e, context) => Promise<any>)
Type declaration
- (e, context): Promise<any>
Parameters
e: any
context: {
reject: ((reason?) => void);
resolve: ((value) => void);
}
reject: ((reason?) => void)
- (reason?): void
Returns void
resolve: ((value) => void)
- (value): void
Returns void
Returns Promise<any>
Optional
updateCoordinate
updateCoordinate?: ((e, context) => any)
Type declaration
- (e, context): any
Parameters
e: any
context: {
intersectObject?: any;
reject: ((reason?) => void);
resolve: ((value) => void);
worldPos?: Vector3;
}
Optional
intersectObject?: any
reject: ((reason?) => void)
- (reason?): void
Returns void
resolve: ((value) => void)
- (value): void
Returns void
Optional
worldPos?: Vector3
Returns any
进入时使div元素自动获取焦点(能响应键盘事件) 默认是