jQuery UI Widgets Forums Vue jqxdragdrop changing props dynamically

This topic contains 1 reply, has 2 voices, and was last updated by  Martin 2 years, 3 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author

  • ckli24
    Participant

    Is there any way to modify the properties passed into jqxDragDrop (or similar components) conditionally? For example, I want the revert property to change based on whether or not the component is currently at its target or not. I have tried using this.$refs[name][0].$set(this, this.$refs[name][0].revert, false) but there does not seem to be a way to change the props reactively.

    • This topic was modified 2 years, 3 months ago by  ckli24.

    Martin
    Participant

    Hello ckli24,

    You can update the jqxDragDrop properties dynamically like this:

    this.$refs.myDragDrop.revert = false;

    Best Regards,
    Martin Yotov

    jQWidgets Team
    https://www.jqwidgets.com/

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.