BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
import Vue from 'vue'
import App from './App.vue'
export const bus = new Vue();
new Vue({
el: '#app',
render: h => h(App)
})
|
<b-modal v-model="isVisible"
:hide-footer="true"
:no-close-on-esc="true"
:no-close-on-backdrop="true"
:hide-header-close="true"
@shown="onModalShown">
<rte v-model="modalValue"
:width="WIDTH"
:height="HEIGHT">
</rte>
<b-button size="sm" @click="toggleModal">
{{ 'Close' }}
</b-button>
</b-modal>
<script>
import { bus } from './main';
export default {
methods: {
onModalShown() {
bus.$emit('refresh');
}
}
}
</script>
|
<ejs-richtexteditor ref="rteRef" :created="onCreate">
</ejs-richtexteditor>
<script>
import { bus } from './main';
export default {
methods: {
onCreate: function() {
bus.$on('refresh', this.refreshRte)
},
refreshRte() {
this.$refs.rteRef.refreshUI();
}
}
};
</script> |