JavaScript UI Libraries & Blazor Components Suite – Smart UI Forums Editor & Inputs What’s the recommended approach for Input in Vue?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #112849
    michaelsanders
    Participant

    Can I use Smart.DateTimePicker with a REST API? What data-fetching libraries are compatible?

    #112854
    Markov
    Keymaster

    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/

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.