UNPKG
spacesvr-websessions
Version:
latest (0.1.1)
0.1.1
0.1.0
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
0.0.0
A standardized reality for future of the 3D Web
websessions.co
websessions/spacesvr-websessions
spacesvr-websessions
/
logic
/
input.d.ts
7 lines
(6 loc)
•
300 B
TypeScript
View Raw
1
2
3
4
5
6
7
export
declare
const
useHTMLInput
:
(
type
:
"file"
|
"text"
|
"password"
) =>
HTMLInputElement
;
export
declare
const
useTextInput
:
(
type
:
"text"
|
"password"
|
"number"
,
value
:
string
,
onChange
: (s:
string
) =>
void
) =>
{
input
:
HTMLInputElement
;
focused
:
boolean
;
focusInput
:
() =>
void
; };