Good job! You can also check v-model modifiers: vuejs.org/v2/guide/forms.html#trim
Trim for example can be used like this: v-model.trim="editLink" and you dont have to worry about untrimmed data in the editLinks function.
For rearranging the links you can check out: github.com/SortableJS/Vue.Draggable I have tried it and it was easy to use.
Nice! I can't wait to try it out and cut down on some of my javascript.
I saw that github and was thinking of giving it a try. Wasn't sure to try and code on my own or use someone's package. Either way I'll look into it.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Good job!
You can also check v-model modifiers: vuejs.org/v2/guide/forms.html#trim
Trim for example can be used like this:
v-model.trim="editLink"
and you dont have to worry about untrimmed data in the editLinks function.
For rearranging the links you can check out:
github.com/SortableJS/Vue.Draggable
I have tried it and it was easy to use.
Nice! I can't wait to try it out and cut down on some of my javascript.
I saw that github and was thinking of giving it a try. Wasn't sure to try and code on my own or use someone's package. Either way I'll look into it.