UNPKG
@vue-widget/hooks
Version:
latest (0.3.3)
0.3.3
0.3.2
0.3.1
0.3.0
0.2.1
0.1.0
0.0.1
hooks from react to vue
github.com/qianyuhouse/hooks
@vue-widget/hooks
/
es
/
useId
/
index.d.ts
6 lines
(5 loc)
•
259 B
TypeScript
View Raw
1
2
3
4
5
6
/** Is client side and not jsdom */
export
declare
const
isBrowserClient
:
boolean
;
/** Get unique id for accessibility usage */
export
declare
function
getUUID
(
):
number
|
string
;
export
declare
function
useId
(
id
?:
import
(
"vue"
).
Ref
<
string
,
string
>
):
string
;