Search
Preparing search index...
The search index is not available
Swim Toolkit
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Swim Toolkit
@swim/view
ModalService
Class ModalService<V>
Type parameters
V
:
View
Hierarchy
ViewManagerService
<
V
,
ModalManager
<
V
>
>
ModalService
Callable
Modal
Service
(
)
:
ModalManager
<
V
>
Returns
ModalManager
<
V
>
Index
Constructors
constructor
Properties
inherit
manager
name
observe
own
Manager
owner
service
Flags
super
Manager
super
Name
super
Service
type
Inherited
Flag
Methods
bind
Super
Service
dismiss
Modal
dismiss
Modals
displace
Modals
get
Manager
get
Manager
Or
init
Manager
is
Inherited
mount
present
Modal
set
Inherit
set
Service
Flags
toggle
Modal
unbind
Super
Service
unmount
update
Modality
define
get
Class
Constructors
constructor
new
Modal
Service<V>
(
owner
:
V
, serviceName
:
undefined
|
string
)
:
ModalService
<
V
>
Type parameters
V
:
View
<
V
>
Parameters
owner:
V
serviceName:
undefined
|
string
Returns
ModalService
<
V
>
Properties
Readonly
inherit
inherit
:
string
|
boolean
Readonly
manager
manager
:
ModalManager
<
V
>
Readonly
name
name
:
string
Optional
observe
observe
:
boolean
Readonly
own
Manager
own
Manager
:
undefined
|
ModalManager
<
V
>
Readonly
owner
owner
:
V
Readonly
service
Flags
service
Flags
:
number
Readonly
super
Manager
super
Manager
:
undefined
|
ModalManager
<
V
>
Readonly
super
Name
super
Name
:
undefined
|
string
Readonly
super
Service
super
Service
:
null
|
ViewService
<
View
,
ModalManager
<
V
>
>
Optional
Readonly
type
type
:
unknown
Static
Inherited
Flag
Inherited
Flag
:
number
Methods
bind
Super
Service
bind
Super
Service
(
)
:
void
Returns
void
dismiss
Modal
dismiss
Modal
(
modal
:
Modal
)
:
void
Parameters
modal:
Modal
Returns
void
dismiss
Modals
dismiss
Modals
(
)
:
void
Returns
void
displace
Modals
displace
Modals
(
event
:
null
|
Event
)
:
void
Parameters
event:
null
|
Event
Returns
void
get
Manager
get
Manager
(
)
:
ModalManager
<
V
>
Returns
ModalManager
<
V
>
get
Manager
Or
get
Manager
Or<E>
(
elseManager
:
E
)
:
ModalManager
<
V
>
|
E
Type parameters
E
Parameters
elseManager:
E
Returns
ModalManager
<
V
>
|
E
init
Manager
init
Manager
(
)
:
ModalManager
<
V
>
Returns
ModalManager
<
V
>
is
Inherited
is
Inherited
(
)
:
boolean
Returns
boolean
mount
mount
(
)
:
void
Returns
void
present
Modal
present
Modal
(
modal
:
Modal
, options
?:
ModalOptions
)
:
void
Parameters
modal:
Modal
Optional
options:
ModalOptions
Returns
void
set
Inherit
set
Inherit
(
inherit
:
string
|
boolean
)
:
void
Parameters
inherit:
string
|
boolean
Returns
void
set
Service
Flags
set
Service
Flags
(
serviceFlags
:
number
)
:
void
Parameters
serviceFlags:
number
Returns
void
toggle
Modal
toggle
Modal
(
modal
:
Modal
, options
?:
ModalOptions
)
:
void
Parameters
modal:
Modal
Optional
options:
ModalOptions
Returns
void
unbind
Super
Service
unbind
Super
Service
(
)
:
void
Returns
void
unmount
unmount
(
)
:
void
Returns
void
update
Modality
update
Modality
(
)
:
void
Returns
void
Static
define
define<V_9, T_9, I_1>
(
descriptor
:
ViewServiceDescriptorExtends
<
V_9
,
T_9
,
I_1
>
)
:
ViewServiceConstructor
<
V_9
,
T_9
,
I_1
>
define<V_10, T_10>
(
descriptor
:
ViewServiceDescriptor
<
V_10
,
T_10
,
{}
>
)
:
ViewServiceConstructor
<
V_10
,
T_10
,
{}
>
Type parameters
V_9
:
View
<
V_9
>
T_9
I_1 =
{}
Parameters
descriptor:
ViewServiceDescriptorExtends
<
V_9
,
T_9
,
I_1
>
Returns
ViewServiceConstructor
<
V_9
,
T_9
,
I_1
>
Type parameters
V_10
:
View
<
V_10
>
T_10
Parameters
descriptor:
ViewServiceDescriptor
<
V_10
,
T_10
,
{}
>
Returns
ViewServiceConstructor
<
V_10
,
T_10
,
{}
>
Static
get
Class
get
Class
(
type
:
unknown
)
:
null
|
ViewServiceClass
Parameters
type:
unknown
Returns
null
|
ViewServiceClass
Modules
@swim/system
@swim/toolkit
@swim/ui
@swim/model
@swim/style
@swim/theme
@swim/view
@swim/dom
@swim/graphics
@swim/component
@swim/ux
@swim/vis
@swim/maps
Modal
Service
constructor
inherit
manager
name
observe
own
Manager
owner
service
Flags
super
Manager
super
Name
super
Service
type
Inherited
Flag
bind
Super
Service
dismiss
Modal
dismiss
Modals
displace
Modals
get
Manager
get
Manager
Or
init
Manager
is
Inherited
mount
present
Modal
set
Inherit
set
Service
Flags
toggle
Modal
unbind
Super
Service
unmount
update
Modality
define
get
Class
Generated using
TypeDoc