isSubContainerExitAllowed

abstract fun isSubContainerExitAllowed(subContainerViewModel: VM): Boolean

Whether the panel sub-container exit of the given subContainerViewModel is allowed.

The panel sub-container exit animation (if any) will only start if this method returns true. Returns false if the exit animation (if any) must be postponed.

Called whenever PanelSubContainerViewModel is changed and the removal of a panel sub-container is initiated by getSubContainerDataUpdates.