VueJS accessing a method from another method

Posted by Prem Tiwari | Updated on

Within a method on a Vue instance you can access other methods on the instance using this.

To access a method outside of a Vue instance you can assign the instance to a variable (such as vm in the example above) and call the method:

If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@] Your question and answer will appear on and help other developers.

Related Questions & Answers