Course lesson

Define and Use Methods in the Vue Configuration Object for Complex Logic

We'll explore the methods key of the Vue configuration object and how we can reference these methods in our code. Using these we can encapsulate more complex logic and use these throughout our application.

Duration
3 min
Access
Pro
Transcript
Available

We'll explore the methods key of the Vue configuration object and how we can reference these methods in our code. Using these we can encapsulate more complex logic and use these throughout our application.

You will see how to pass values to these methods as well as see what happens when you don't pass arguments to a method that is expecting some.