BoldSign®Effortlessly integrate e-signatures into your app with the BoldSign® API. Create a sandbox account!
addEntry: function () {
console.log(this.$data.contentTemplate);
},
|
<ejs-button id="modalBtn" v-on:click.native="btnClick.bind(this)">Open Dialog</ejs-button>
methods: {
btnClick: function () {
this.$refs.templateDialog.show();
},
// Get the object instances here.
addEntry: function () {
console.log(this.$data.contentTemplate);
},
}, |
<template>
<div>
<!-- Render Dialog -->
<ejs-dialog
:content="contentTemplate"
></ejs-dialog>
</div>
</div>
</template>
var contentTemplateVue = Vue.component("demo2", {
template:
'<div><div class="dialogContent"> <span class="dialogText">Greetings Nancy! When will you share me the source files of the project?</span></div></div>',
data() {
return {
data: {},
};
},
});
export default {
data: function () {
return {
contentTemplate: function () {
return { template: contentTemplateVue };
},
};
}
}
} |