MLightCAD
Preparing search index...
@mlightcad/cad-viewer
useDialogManager
Function useDialogManager
useDialogManager
()
:
{
dialogs
:
ComputedRef
<
Reactive
<
Dialog
[]
>
>
;
getDialogByName
:
(
key
:
string
,
)
=>
|
{
component
:
any
;
name
:
string
;
props
?:
Record
<
string
,
any
>
;
visible
:
boolean
;
}
|
undefined
;
registerDialog
:
(
dialog
:
Omit
<
Dialog
,
"visible"
>
)
=>
void
;
toggleDialog
:
(
key
:
string
,
visible
:
boolean
)
=>
void
;
}
Returns
{
dialogs
:
ComputedRef
<
Reactive
<
Dialog
[]
>
>
;
getDialogByName
:
(
key
:
string
,
)
=>
|
{
component
:
any
;
name
:
string
;
props
?:
Record
<
string
,
any
>
;
visible
:
boolean
;
}
|
undefined
;
registerDialog
:
(
dialog
:
Omit
<
Dialog
,
"visible"
>
)
=>
void
;
toggleDialog
:
(
key
:
string
,
visible
:
boolean
)
=>
void
;
}
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
MLightCAD
Loading...