Properties
Optional
autoFocus
autoFocus?: boolean
Optional
beforeConfirm
beforeConfirm?: ((e, context) => any)
Type declaration
- (e, context): any
Parameters
e: any
context: {
entity?: Entity[];
reject: ((reason?) => void);
resolve: ((value) => void);
}
Optional
entity?: Entity[]
reject: ((reason?) => void)
- (reason?): void
Returns void
resolve: ((value) => void)
- (value): void
Returns void
Returns any
Optional
canSelectBox
canSelectBox?: boolean
Optional
ctrlKeyCencelSelect
ctrlKeyCencelSelect?: boolean
Optional
dblClickConfirm
dblClickConfirm?: boolean
Optional
enterKeyCb
enterKeyCb?: ((e, context) => any)
Type declaration
- (e, context): any
Parameters
e: any
context: {
entity?: Entity[];
reject: ((reason?) => void);
resolve: ((value) => void);
}
Optional
entity?: Entity[]
reject: ((reason?) => void)
- (reason?): void
Returns void
resolve: ((value) => void)
- (value): void
Returns void
Returns any
Optional
enterKeyConfirm
enterKeyConfirm?: boolean
Optional
escCancel
escCancel?: boolean
Optional
exitAutoClearDelay
exitAutoClearDelay?: number
Optional
exitAutoClearHighlight
exitAutoClearHighlight?: boolean
Optional
filterEntityCb
filterEntityCb?: ((ent) => boolean)
Type declaration
- (ent): boolean
Returns boolean
Optional
highlightColor
highlightColor?: ColorRepresentation
Optional
highlightOpacity
highlightOpacity?: number
Optional
highlightUseBoxHelper
highlightUseBoxHelper?: boolean
Optional
keydownCb
keydownCb?: ((e, context) => any)
Type declaration
- (e, context): any
Parameters
e: any
context: {
entity?: Entity[];
reject: ((reason?) => void);
resolve: ((value) => void);
}
Optional
entity?: Entity[]
reject: ((reason?) => void)
- (reason?): void
Returns void
resolve: ((value) => void)
- (value): void
Returns void
Returns any
Optional
maxSelectedCount
maxSelectedCount?: number
Optional
onResult
onResult?: ((entity?) => any)
Type declaration
- (entity?): any
Returns any
Optional
onSelect
onSelect?: ((currentEntity, context) => any)
Type declaration
- (currentEntity, context): any
Parameters
currentEntity: Entity
context: {
entity?: Entity[];
reject: ((reason?) => void);
resolve: ((value) => void);
}
Optional
entity?: Entity[]
reject: ((reason?) => void)
- (reason?): void
Returns void
resolve: ((value) => void)
- (value): void
Returns void
Returns any
Optional
onSelectBoxEnd
onSelectBoxEnd?: ((pointLeftTop, pointBottomRight, context) => any)
Type declaration
- (pointLeftTop, pointBottomRight, context): any
Parameters
pointLeftTop: Vector2
pointBottomRight: Vector2
context: {
entity?: Entity[];
reject: ((reason?) => void);
resolve: ((value) => void);
}
Optional
entity?: Entity[]
reject: ((reason?) => void)
- (reason?): void
Returns void
resolve: ((value) => void)
- (value): void
Returns void
Returns any
Optional
onlyUseSelectBox
onlyUseSelectBox?: boolean
Optional
rightClickCb
rightClickCb?: ((e, context) => any)
Type declaration
- (e, context): any
Parameters
e: any
context: {
entity?: Entity[];
reject: ((reason?) => void);
resolve: ((value) => void);
}
Optional
entity?: Entity[]
reject: ((reason?) => void)
- (reason?): void
Returns void
resolve: ((value) => void)
- (value): void
Returns void
Returns any
Optional
rightClickConfirm
rightClickConfirm?: boolean
Optional
selectBoxStyle
selectBoxStyle?: Record<string, any>
Optional
shiftSelectBox
shiftSelectBox?: boolean
Optional
updateCoordinate
updateCoordinate?: ((e, context) => any)
Type declaration
- (e, context): any
Parameters
e: any
context: {
reject: ((reason?) => void);
resolve: ((value) => void);
worldPos?: Vector3;
}
reject: ((reason?) => void)
- (reason?): void
Returns void
resolve: ((value) => void)
- (value): void
Returns void
Optional
worldPos?: Vector3
Returns any
进入时使div元素自动获取焦点(能响应键盘事件) 默认是