Mutations can be commited by the store to change the state You can call mutations in any components as $store.commit('mutationName', ...args)
Methods
-
vcs.ui.store.commit.setContentPosition(position)
-
Sets the content windows position
Name Type Description positionstring the content position, either 'center' or 'left'
-
vcs.ui.store.commit.setContentPositionFixed(fix)
-
Removes the handlers for setting the content window for the user
Name Type Description fixboolean -
vcs.ui.store.commit.setContentStateForRoute(route)
-
Sets the current content state as the state for a specific route
Name Type Description routestring the route for which to set the content position state
-
vcs.ui.store.commit.setLastSelectedLocation(location)
-
Sets the context location.
Name Type Description locationvcs.vcm.maps.ClickPosition
virtualcityMAP 3.6