Hosanna UI API v2.3.0-next
Preparing search index...
Bridge/common
IFocusManager
HsInputEvent
Interface HsInputEvent<T>
interface
HsInputEvent
<
T
extends
IHosannaView
<
ViewState
>
=
IHosannaView
<
ViewState
>
,
>
{
consumed
?:
boolean
;
direction
:
api
.
Direction
;
isFocusHandledByView
?:
boolean
;
isInputCancelled
?:
boolean
;
isKeyPress
?:
boolean
;
isKeyRelease
?:
boolean
;
isNavigationFocusResolution
?:
boolean
;
key
:
Key
;
keyState
:
KeyState
;
longPress
?:
HsLongPressInfo
;
nativeEvent
?:
unknown
;
phase
?:
HsInputPhase
;
pointerId
?:
number
;
pointerType
?:
string
;
preventDefault
?:
boolean
;
rawKey
?:
string
;
sceneX
?:
number
;
sceneY
?:
number
;
sourceAdapter
?:
string
;
target
?:
IHosannaView
<
ViewState
>
;
timestamp
:
number
;
type
:
string
;
view
:
T
;
}
Type Parameters
T
extends
IHosannaView
<
ViewState
>
=
IHosannaView
<
ViewState
>
Hierarchy
HsBaseInputEvent
ViewEvent
<
T
>
HsInputEvent
Index
Properties
consumed?
direction
is
Focus
Handled
By
View?
is
Input
Cancelled?
is
Key
Press?
is
Key
Release?
is
Navigation
Focus
Resolution?
key
key
State
long
Press?
native
Event?
phase?
pointer
Id?
pointer
Type?
prevent
Default?
raw
Key?
scene
X?
scene
Y?
source
Adapter?
target?
timestamp
type
view
Properties
Optional
consumed
consumed
?:
boolean
direction
direction
:
api
.
Direction
Optional
is
Focus
Handled
By
View
isFocusHandledByView
?:
boolean
Optional
is
Input
Cancelled
isInputCancelled
?:
boolean
Optional
is
Key
Press
isKeyPress
?:
boolean
Optional
is
Key
Release
isKeyRelease
?:
boolean
Optional
is
Navigation
Focus
Resolution
isNavigationFocusResolution
?:
boolean
True only while FocusManager is resolving a globally paced directional navigation tick.
key
key
:
Key
key
State
keyState
:
KeyState
Optional
long
Press
longPress
?:
HsLongPressInfo
Optional
native
Event
nativeEvent
?:
unknown
Optional
phase
phase
?:
HsInputPhase
Optional
pointer
Id
pointerId
?:
number
Optional
pointer
Type
pointerType
?:
string
Optional
prevent
Default
preventDefault
?:
boolean
Optional
raw
Key
rawKey
?:
string
Optional
scene
X
sceneX
?:
number
Optional
scene
Y
sceneY
?:
number
Optional
source
Adapter
sourceAdapter
?:
string
Optional
target
target
?:
IHosannaView
<
ViewState
>
timestamp
timestamp
:
number
type
type
:
string
view
view
:
T
Settings
Member Visibility
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
consumed
direction
is
Focus
Handled
By
View
is
Input
Cancelled
is
Key
Press
is
Key
Release
is
Navigation
Focus
Resolution
key
key
State
long
Press
native
Event
phase
pointer
Id
pointer
Type
prevent
Default
raw
Key
scene
X
scene
Y
source
Adapter
target
timestamp
type
view
Hosanna UI API v2.3.0-next
Loading...
True only while FocusManager is resolving a globally paced directional navigation tick.