M
M
Max Zhukov2017-09-28 12:15:09
JavaScript
Max Zhukov, 2017-09-28 12:15:09

How to use component properties outside of it in Vue?

I have a component (separately html and separately js) that is displayed on a button. I connect it in a php file, for example:
there are input in php and at the end of the component.
The bottom line is how do I change the value of the data attributes through v-modal when I enter a value in the input?
El not set writes an error:
The "el" option should be a function that returns a per-instance value in component definitions.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
vism, 2017-09-28
@vism

emit

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question