Question · Vue.js course · Module 11: Pinia
Getter with Parameter
How do you create a getter that accepts a parameter?
Answer options
- The getter returns a function that accepts an argument
- Parameters are added to the getter signature
- Using the getterParams option
- Parameters are passed via $patch
You can check the correct answer by solving this task in the CodeWorlds game.