The methods option is where you define functions in Vue, and functions defined in this block will work just as normal functions. They always get called and recalculated to return the data. All methods will have their this context bound to the vue instance automatically.

You can view the codesandbox for this and the previous Component Options lessons here: https://codesandbox.io/s/component-options-em5vd