ViewModelStoreBase class β
This is the base implementation of the ViewModelStore interface.
Methods and properties β
Here is documentation about base implementation methods and properties.
If you need to read about ViewModelStore interface methods and properties, go here.
viewModels (protected) β
Map structure with created ViewModel instances in application.
instanceAttachedCount (protected) β
ViewModel instances count attached (method attach()) to current store
mountingViews (protected) β
A Set with ViewModel ids which views are waiting for mount
unmountingViews (protected) β
A Set with ViewModel ids which views are waiting for unmount
viewModelsTempHeap (protected) β
A Map with temp heap vm instances
Is needed to get access to view model instance before all initializations happens
vmConfig (protected) β
getOrCreateVmId(model) β
Returns the modelβs id, assigning one with the storeβs configured generateId when it was missing. Used by attach, mount, and related flows; override the store only if you extend ViewModelStoreBase and need the same behaviour.
