UNPKG
@vchatcloud/vue-ui-kit
Version:
latest (1.0.6)
1.0.6
1.0.5
1.0.3
1.0.2
1.0.1
VChatCloud UI Kit for vue integration
www.vchatcloud.com
@vchatcloud/vue-ui-kit
/
dist
/
hooks
/
usePopup.d.ts
8 lines
(7 loc)
•
239 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
import
{
Ref
}
from
'vue'
;
declare
const
usePopup
:
(
popup
:
Ref
<
HTMLElement
|
undefined
>,
callback
: () =>
void
) =>
{
popupVisible
:
Ref
<
boolean
,
boolean
>;
showPopup
:
() =>
void
;
hidePopup
:
() =>
void
; };
export
default
usePopup;