Initializes a new instance of the DivStackRegionAdapter class.
The optional name of the region adapter.
The {@link geocortex.framework.application.Application} that this DivStackRegionAdapter belongs to.
Whether or not to move a view to the last position in the region's DOM container when activating.
Array of all the active views in this region.
The {@link geocortex.framework.application.Application} that this region adapter belongs to.
Default time that views should take in transitioning from different states (active~inactive).
The DOM element that this adapter works against.
Whether or not this region has one or more active views.
The name of this region adapter. Must be globally unique.
A key value-pair collection of configured options, specific to the particular region adapter.
The view that owns this region, if it's associated with one.
Any views hosted in this region.
Activates a view, making it visible and bringing it to the top of the active stack.
The view to activate. This view should already be hosted in the region.
Because the adding of the "active" class is asynchronous (through setTimeout(0)), there can be a potential race condition whereby if a view is immediately deactivated after getting activated, it may actually get the "activated" class added to it after it has been deactivated. To prevent this from happening, this method should be called when deactivating or simply hiding a view.
Deactivates a view, making it non-visible and removing it from the active stack.
The view to deactivate. This view should already be hosted in the region.
Adds a view to the region and binds it to its view model, if present.
Called when the region adapter is to be removed from the user interface.
Removes a view from this region.
DivStackRegionAdapter Models a number of views as a stack of div elements.Views are brought to the top when activated. Multiple views may be visible at once and may overlap each other.