JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › Editor & Inputs › What’s the recommended approach for Input in Vue?
Can I use Smart.DateTimePicker with a REST API? What data-fetching libraries are compatible?
Hi,
For example:
<template> <smart-editor :value="content" @change="onChange"></smart-editor> <p>Editor content: {{ content }}</p> </template> <script> export default { data() { return { content: "<p>Hello World</p>" }; }, methods: { onChange(event) { this.content = event.detail.value; // Smart.Editor emits the new value here } } }; </script>
Hope this helps.
Best regards, Markov
Smart UI Team https://www.htmlelements.com/