We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Following code let {{msg}} output function () { return method.apply(instance, arguments); }. Here is my code
{{msg}}
function () { return method.apply(instance, arguments); }
const app = new Moon({ el: "#app", data: { msg: "Hello Moon!" }, methods: { msg () { this.set('msg', 'Moon Hello'); } } });
I find there has a method that turn methods.msg to data.msg in src/observer/methods.js .
methods.msg
data.msg
src/observer/methods.js
The text was updated successfully, but these errors were encountered:
Ahh yes. I will definitely add a warning for this. This is done so methods can be used in templates like:
<p>{{ someMethod(foo) }}</p>
Sorry, something went wrong.
191b81d
kbrsh
No branches or pull requests
Following code let
{{msg}}
outputfunction () { return method.apply(instance, arguments); }
.Here is my code
I find there has a method that turn
methods.msg
todata.msg
insrc/observer/methods.js
.The text was updated successfully, but these errors were encountered: