3👍
If you want to bind any dynamic behaviour, we need to use ‘v-‘ prefix. in shorthand we can use ‘:’
full syntax
v-bind:href="url"
shorthand
:href="url"
- [Vuejs]-Download File With axios post method in vue js
- [Vuejs]-Why change data in beforeCreated/created/beforeMount can not trigger watch in VUE?
0👍
In vuejs documentation you can read how to bind props , here is the full explanation about this :
https://v2.vuejs.org/v2/guide/components-props.html
Simply if I want to bind prop from parent component to child , I can use :name_of_prop="value_of_prop"
This ‘:’ are short hand from v-bind 🙂
- [Vuejs]-Pasting text including delimiters into Vuetify combobox does not separate the chips accordingly the delimiters?
- [Vuejs]-Is there a way to NOT refresh the Page after Updating the data? Laravel 8 and Vue
0👍
As is mentioned above it is equivalent to the v-bind:
May also help to mention that anything you write inside of the quotes
:label="in here"
will be read dynamically. So for the code you were looking at to.label
and helper are most likely values defined elsewhere
0👍
:label=”to.label is equal,
- Binding dynamic value v-bind:label=”your_dynamic_value”.
- Label is a props from q-field component.
Source:stackexchange.com