0 votes
in VueJS by
What is the special handling for null values in dynamic directive arguments?

1 Answer

0 votes
by
Dynamic argument values are expected to be strings but it allows null as a special value that explicitly indicates that the binding should be removed. Other types will be treated as mistakes and will trigger a warning. So null value can be applied for v-bind and v-on.
...