Complete Vue.js 2 Web Development_ Practical guide to building end-to-end web development solutions with Vue.js 2
Displaying, Looping, Searching, and Filtering Data Chapter 2 In the preceding method, the class output gets set to success by de ...
Displaying, Looping, Searching, and Filtering Data Chapter 2 If the number output is the same, the increasing variable is set to ...
Displaying, Looping, Searching, and Filtering Data Chapter 2 Query: <input type="text" id="filterQuery" v-model="filterQuery" ...
Displaying, Looping, Searching, and Filtering Data Chapter 2 filterField: '', filterQuery: '', filterUserState: '' }, methods: { ...
Displaying, Looping, Searching, and Filtering Data Chapter 2 let query = this.filterQuery, field = person[this.filterField]; if( ...
Displaying, Looping, Searching, and Filtering Data Chapter 2 Summary In this chapter, we looked at Vue HTML declarations, condit ...
3 Optimizing your App and Using Components to Display Data In Chapter 2, Displaying, Looping, Searching, and Filtering Data, we ...
Optimizing your App and Using Components to Display Data Chapter 3 }, methods: { activeStatus(person) { return (person.isActive) ...
Optimizing your App and Using Components to Display Data Chapter 3 field = field.toLowerCase(); result = field.includes(query.to ...
Optimizing your App and Using Components to Display Data Chapter 3 To access the data, update any references of filterField to t ...
Optimizing your App and Using Components to Display Data Chapter 3 field = field.toLowerCase(); result = field.includes(query.to ...
Optimizing your App and Using Components to Display Data Chapter 3 This attribute is firing the changeFilter method on every upd ...
Optimizing your App and Using Components to Display Data Chapter 3 Switch statements are a great alternative to if statements if ...
Optimizing your App and Using Components to Display Data Chapter 3 As a compromise, we are going to pass the person object as th ...
Optimizing your App and Using Components to Display Data Chapter 3 break; case 'registered': break; } return output; } We now ju ...
Optimizing your App and Using Components to Display Data Chapter 3 Reducing the number of hard-coded variables and properties, a ...
Optimizing your App and Using Components to Display Data Chapter 3 Replace all instances in that function of the variables, for ...
Optimizing your App and Using Components to Display Data Chapter 3 } let increasing = false, balance = person.balance / 1000; if ...
Optimizing your App and Using Components to Display Data Chapter 3 if(typeof field === 'number') { query.replace(this.currency, ...
Optimizing your App and Using Components to Display Data Chapter 3 When a component is registered, you create a custom HTML elem ...
«
1
2
3
4
5
6
7
8
9
10
»
Free download pdf