Hex Core JS
Preparing search index...
Router
useQueryState
Function useQueryState
useQueryState
()
:
{
getItem
:
<
T
=
any
>
(
key
:
string
,
filterType
?:
TypeFilter
<
T
>
)
=>
T
;
hasItem
:
(
key
:
string
)
=>
boolean
;
removeItem
:
(
key
:
string
)
=>
void
;
setItem
:
(
key
:
string
,
value
:
any
)
=>
void
;
}
Provides an interface for interacting with the query state (used in the URL's query string).
Returns
{
getItem
:
<
T
=
any
>
(
key
:
string
,
filterType
?:
TypeFilter
<
T
>
)
=>
T
;
hasItem
:
(
key
:
string
)
=>
boolean
;
removeItem
:
(
key
:
string
)
=>
void
;
setItem
:
(
key
:
string
,
value
:
any
)
=>
void
;
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Hex Core JS
Loading...
Provides an interface for interacting with the query state (used in the URL's query string).