Namespace: commit

vcs.ui.store.commit

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
position string

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
fix boolean

vcs.ui.store.commit.setContentStateForRoute(route)

Sets the current content state as the state for a specific route

Name Type Description
route string

the route for which to set the content position state

See:

vcs.ui.store.commit.setLastSelectedLocation(location)

Sets the context location.

Name Type Description
location vcs.vcm.maps.ClickPosition