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
ModalManager
Class ModalManager<V>
Type parameters
V
:
View
=
View
Hierarchy
ViewManager
<
V
>
ModalManager
Index
Constructors
constructor
Properties
matte
View
modality
modals
root
Views
view
Manager
Observers
Methods
add
View
Manager
Observer
attach
Events
detach
Events
did
Add
View
Manager
Observer
did
Attach
did
Detach
did
Dismiss
Modal
did
Displace
Modals
did
Insert
Root
View
did
Observe
did
Present
Modal
did
Remove
Root
View
did
Remove
View
Manager
Observer
did
Update
Modality
dismiss
Modal
dismiss
Modals
displace
Modals
insert
Modal
View
insert
Root
View
is
Attached
is
Modal
on
Add
View
Manager
Observer
on
Attach
on
Click
on
Detach
on
Dismiss
Modal
on
Displace
Modals
on
Insert
Root
View
on
Present
Modal
on
Remove
Root
View
on
Remove
View
Manager
Observer
on
Update
Modality
present
Modal
remove
Root
View
remove
View
Manager
Observer
set
Matte
View
toggle
Modal
update
Modality
will
Add
View
Manager
Observer
will
Attach
will
Detach
will
Dismiss
Modal
will
Displace
Modals
will
Insert
Root
View
will
Observe
will
Present
Modal
will
Remove
Root
View
will
Remove
View
Manager
Observer
will
Update
Modality
global
insert
Modal
View
Constructors
constructor
new
Modal
Manager<V>
(
)
:
ModalManager
<
V
>
Type parameters
V
:
View
<
V
>
=
View
Returns
ModalManager
<
V
>
Properties
Readonly
matte
View
matte
View
:
null
|
View
Readonly
modality
modality
:
number
Readonly
modals
modals
:
readonly
Modal
[]
Readonly
root
Views
root
Views
:
readonly
V
[]
Readonly
view
Manager
Observers
view
Manager
Observers
:
readonly
ModalManagerObserver
<
View
,
ModalManager
<
View
>
>
[]
Methods
add
View
Manager
Observer
add
View
Manager
Observer
(
viewManagerObserver
:
ModalManagerObserver
<
View
,
ModalManager
<
View
>
>
)
:
void
Parameters
viewManagerObserver:
ModalManagerObserver
<
View
,
ModalManager
<
View
>
>
Returns
void
Protected
attach
Events
attach
Events
(
view
:
V
)
:
void
Parameters
view:
V
Returns
void
Protected
detach
Events
detach
Events
(
view
:
V
)
:
void
Parameters
view:
V
Returns
void
Protected
did
Add
View
Manager
Observer
did
Add
View
Manager
Observer
(
viewManagerObserver
:
ModalManagerObserver
<
View
,
ModalManager
<
View
>
>
)
:
void
Parameters
viewManagerObserver:
ModalManagerObserver
<
View
,
ModalManager
<
View
>
>
Returns
void
Protected
did
Attach
did
Attach
(
)
:
void
Returns
void
Protected
did
Detach
did
Detach
(
)
:
void
Returns
void
Protected
did
Dismiss
Modal
did
Dismiss
Modal
(
modal
:
Modal
)
:
void
Parameters
modal:
Modal
Returns
void
Protected
did
Displace
Modals
did
Displace
Modals
(
event
:
null
|
Event
)
:
void
Parameters
event:
null
|
Event
Returns
void
Protected
did
Insert
Root
View
did
Insert
Root
View
(
rootView
:
V
)
:
void
Parameters
rootView:
V
Returns
void
Protected
did
Observe
did
Observe<T>
(
callback
:
(
viewManagerObserver
:
ModalManagerObserver
<
View
,
ModalManager
<
View
>
>
)
=>
void
|
T
)
:
undefined
|
T
Type parameters
T
Parameters
callback:
(
viewManagerObserver
:
ModalManagerObserver
<
View
,
ModalManager
<
View
>
>
)
=>
void
|
T
(
viewManagerObserver
:
ModalManagerObserver
<
View
,
ModalManager
<
View
>
>
)
:
void
|
T
Parameters
viewManagerObserver:
ModalManagerObserver
<
View
,
ModalManager
<
View
>
>
Returns
void
|
T
Returns
undefined
|
T
Protected
did
Present
Modal
did
Present
Modal
(
modal
:
Modal
, options
:
ModalOptions
)
:
void
Parameters
modal:
Modal
options:
ModalOptions
Returns
void
Protected
did
Remove
Root
View
did
Remove
Root
View
(
rootView
:
V
)
:
void
Parameters
rootView:
V
Returns
void
Protected
did
Remove
View
Manager
Observer
did
Remove
View
Manager
Observer
(
viewManagerObserver
:
ModalManagerObserver
<
View
,
ModalManager
<
View
>
>
)
:
void
Parameters
viewManagerObserver:
ModalManagerObserver
<
View
,
ModalManager
<
View
>
>
Returns
void
Protected
did
Update
Modality
did
Update
Modality
(
newModality
:
number
, oldModality
:
number
)
:
void
Parameters
newModality:
number
oldModality:
number
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
Protected
insert
Modal
View
insert
Modal
View
(
modalView
:
View
)
:
void
Parameters
modalView:
View
Returns
void
insert
Root
View
insert
Root
View
(
rootView
:
V
)
:
void
Parameters
rootView:
V
Returns
void
is
Attached
is
Attached
(
)
:
boolean
Returns
boolean
is
Modal
is
Modal
(
)
:
boolean
Returns
boolean
Protected
on
Add
View
Manager
Observer
on
Add
View
Manager
Observer
(
viewManagerObserver
:
ModalManagerObserver
<
View
,
ModalManager
<
View
>
>
)
:
void
Parameters
viewManagerObserver:
ModalManagerObserver
<
View
,
ModalManager
<
View
>
>
Returns
void
Protected
on
Attach
on
Attach
(
)
:
void
Returns
void
Protected
on
Click
on
Click
(
event
:
Event
)
:
void
Parameters
event:
Event
Returns
void
Protected
on
Detach
on
Detach
(
)
:
void
Returns
void
Protected
on
Dismiss
Modal
on
Dismiss
Modal
(
modal
:
Modal
)
:
void
Parameters
modal:
Modal
Returns
void
Protected
on
Displace
Modals
on
Displace
Modals
(
event
:
null
|
Event
)
:
void
Parameters
event:
null
|
Event
Returns
void
Protected
on
Insert
Root
View
on
Insert
Root
View
(
rootView
:
V
)
:
void
Parameters
rootView:
V
Returns
void
Protected
on
Present
Modal
on
Present
Modal
(
modal
:
Modal
, options
:
ModalOptions
)
:
void
Parameters
modal:
Modal
options:
ModalOptions
Returns
void
Protected
on
Remove
Root
View
on
Remove
Root
View
(
rootView
:
V
)
:
void
Parameters
rootView:
V
Returns
void
Protected
on
Remove
View
Manager
Observer
on
Remove
View
Manager
Observer
(
viewManagerObserver
:
ModalManagerObserver
<
View
,
ModalManager
<
View
>
>
)
:
void
Parameters
viewManagerObserver:
ModalManagerObserver
<
View
,
ModalManager
<
View
>
>
Returns
void
Protected
on
Update
Modality
on
Update
Modality
(
newModality
:
number
, oldModality
:
number
)
:
void
Parameters
newModality:
number
oldModality:
number
Returns
void
present
Modal
present
Modal
(
modal
:
Modal
, options
?:
ModalOptions
)
:
void
Parameters
modal:
Modal
Optional
options:
ModalOptions
Returns
void
remove
Root
View
remove
Root
View
(
rootView
:
V
)
:
void
Parameters
rootView:
V
Returns
void
remove
View
Manager
Observer
remove
View
Manager
Observer
(
viewManagerObserver
:
ModalManagerObserver
<
View
,
ModalManager
<
View
>
>
)
:
void
Parameters
viewManagerObserver:
ModalManagerObserver
<
View
,
ModalManager
<
View
>
>
Returns
void
set
Matte
View
set
Matte
View
(
matteView
:
null
|
View
)
:
void
Parameters
matteView:
null
|
View
Returns
void
toggle
Modal
toggle
Modal
(
modal
:
Modal
, options
?:
ModalOptions
)
:
void
Parameters
modal:
Modal
Optional
options:
ModalOptions
Returns
void
update
Modality
update
Modality
(
)
:
void
Returns
void
Protected
will
Add
View
Manager
Observer
will
Add
View
Manager
Observer
(
viewManagerObserver
:
ModalManagerObserver
<
View
,
ModalManager
<
View
>
>
)
:
void
Parameters
viewManagerObserver:
ModalManagerObserver
<
View
,
ModalManager
<
View
>
>
Returns
void
Protected
will
Attach
will
Attach
(
)
:
void
Returns
void
Protected
will
Detach
will
Detach
(
)
:
void
Returns
void
Protected
will
Dismiss
Modal
will
Dismiss
Modal
(
modal
:
Modal
)
:
void
Parameters
modal:
Modal
Returns
void
Protected
will
Displace
Modals
will
Displace
Modals
(
event
:
null
|
Event
)
:
boolean
Parameters
event:
null
|
Event
Returns
boolean
Protected
will
Insert
Root
View
will
Insert
Root
View
(
rootView
:
V
)
:
void
Parameters
rootView:
V
Returns
void
Protected
will
Observe
will
Observe<T>
(
callback
:
(
viewManagerObserver
:
ModalManagerObserver
<
View
,
ModalManager
<
View
>
>
)
=>
void
|
T
)
:
undefined
|
T
Type parameters
T
Parameters
callback:
(
viewManagerObserver
:
ModalManagerObserver
<
View
,
ModalManager
<
View
>
>
)
=>
void
|
T
(
viewManagerObserver
:
ModalManagerObserver
<
View
,
ModalManager
<
View
>
>
)
:
void
|
T
Parameters
viewManagerObserver:
ModalManagerObserver
<
View
,
ModalManager
<
View
>
>
Returns
void
|
T
Returns
undefined
|
T
Protected
will
Present
Modal
will
Present
Modal
(
modal
:
Modal
, options
:
ModalOptions
)
:
void
Parameters
modal:
Modal
options:
ModalOptions
Returns
void
Protected
will
Remove
Root
View
will
Remove
Root
View
(
rootView
:
V
)
:
void
Parameters
rootView:
V
Returns
void
Protected
will
Remove
View
Manager
Observer
will
Remove
View
Manager
Observer
(
viewManagerObserver
:
ModalManagerObserver
<
View
,
ModalManager
<
View
>
>
)
:
void
Parameters
viewManagerObserver:
ModalManagerObserver
<
View
,
ModalManager
<
View
>
>
Returns
void
Protected
will
Update
Modality
will
Update
Modality
(
newModality
:
number
, oldModality
:
number
)
:
void
Parameters
newModality:
number
oldModality:
number
Returns
void
Static
global
global<V>
(
)
:
ModalManager
<
V
>
Type parameters
V
:
View
<
V
>
Returns
ModalManager
<
V
>
Static
insert
Modal
View
insert
Modal
View
(
modalView
:
View
)
:
void
Parameters
modalView:
View
Returns
void
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
Manager
constructor
matte
View
modality
modals
root
Views
view
Manager
Observers
add
View
Manager
Observer
attach
Events
detach
Events
did
Add
View
Manager
Observer
did
Attach
did
Detach
did
Dismiss
Modal
did
Displace
Modals
did
Insert
Root
View
did
Observe
did
Present
Modal
did
Remove
Root
View
did
Remove
View
Manager
Observer
did
Update
Modality
dismiss
Modal
dismiss
Modals
displace
Modals
insert
Modal
View
insert
Root
View
is
Attached
is
Modal
on
Add
View
Manager
Observer
on
Attach
on
Click
on
Detach
on
Dismiss
Modal
on
Displace
Modals
on
Insert
Root
View
on
Present
Modal
on
Remove
Root
View
on
Remove
View
Manager
Observer
on
Update
Modality
present
Modal
remove
Root
View
remove
View
Manager
Observer
set
Matte
View
toggle
Modal
update
Modality
will
Add
View
Manager
Observer
will
Attach
will
Detach
will
Dismiss
Modal
will
Displace
Modals
will
Insert
Root
View
will
Observe
will
Present
Modal
will
Remove
Root
View
will
Remove
View
Manager
Observer
will
Update
Modality
global
insert
Modal
View
Generated using
TypeDoc