Actions

Then, we set up the actions that commit those mutations:

actions: {
setCenter ({ commit }, value) {
commit('center', value)
},

setZoom ({ commit }, value) {
commit('zoom', value)
},
},
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
13.59.9.236