UNPKG

@millicast/vue-viewer-plugin

Version:

Vue.js plugin to embed viewer of a Millicast stream. This plugin allows developers to simplify Millicast services integration into their own Vue.js apps.

22 lines (20 loc) 351 B
const defaultState = { type: '', message: '', showError: false, } export default { namespaced: true, state: defaultState, mutations: { setMessage(state, message) { state.message = message }, setType(state, type) { state.type = type }, setShowError(state, show) { state.showError = show }, }, }