addSubContainer
Creates a sub-container for an individual task panel and attach it to parentContainer. Sub-containers allow for non-instant transitions between different task panels, during which multiple task panels may be visible at the same time.
Return
A sub-container for an individual task panel. It is placed inside the given parentContainer. It should be removed by removeSubContainer.
Parameters
The container that the created sub-container will be placed in.
The mode of the panel that will be placed in the sub-container.
The source the TaskPanel should transition from when coming into view.
An ID for the task panel sub-container that will be provided when it's being restored. While restoring a sub-container, it's typically not desirable to play an enter animation for the sub-container. When left null
, a new ID should be generated.
An ID for the sub-container that will be provided when it's being restored. While restoring a sub-container, it's typically not desirable to play an enter animation for the sub-container. When left null
, a new ID should be generated.