Open in app

Sign In

Write

Sign In

John Au-Yeung
John Au-Yeung

80K Followers

Home

About

Published in

JavaScript in Plain English

·2 days ago

How to Reverse the Order of an Array Using v-for in Vue.js?

Sometimes, we want to reverse the order of an array using v-for in Vue.js. In this article, we’ll look at how to reverse the order of an array using v-for in Vue.js. Reverse the Order of an Array Using v-for in Vue.js We can reverse the order of an array using v-for in Vue.js by using the slice and reverse…

Programming

2 min read

How to Reverse the Order of an Array Using v-for in Vue.js?
How to Reverse the Order of an Array Using v-for in Vue.js?
Programming

2 min read


Published in

JavaScript in Plain English

·6 days ago

How to Watch Multiple Properties with a Single Handler in Vue.js?

Sometimes, we want to watch multiple properties with a single handler in Vue.js. In this article, we’ll look at how to watch multiple properties with a single handler in Vue.js. Watch Multiple Properties with a Single Handler in Vue.js We can watch multiple properties with a single handler in Vue.js with the this.$watch method. For instance, we can write: …

Programming

2 min read

How to Watch Multiple Properties with a Single Handler in Vue.js?
How to Watch Multiple Properties with a Single Handler in Vue.js?
Programming

2 min read


Published in

JavaScript in Plain English

·Sep 14

How to Auto-Reload or Refresh Data with a Timer in Vue.js?

Sometimes, we want to auto-reload or refresh data with a timer in Vue.js. In this article, we’ll look at how to auto-reload or refresh data with a timer in Vue.js. Auto-Reload or Refresh Data with a Timer in Vue.js To auto-reload or refresh data with a timer in Vue.js, we can use the setInterval method. For instance, we can…

Programming

2 min read

How to Auto-Reload or Refresh Data with a Timer in Vue.js?
How to Auto-Reload or Refresh Data with a Timer in Vue.js?
Programming

2 min read


Published in

JavaScript in Plain English

·Sep 9

How to Check for the Last Property of an Object in a v-for Loop?

Sometimes, we want to check for the last property of an object in a v-for loop. In this article, we’ll look at how to check for the last property of an object in a v-for loop. Check for the Last Property of an Object in a v-for Loop We can check for the last property of an object in a v-for loop…

Programming

2 min read

How to Check for the Last Property of an Object in a v-for Loop?
How to Check for the Last Property of an Object in a v-for Loop?
Programming

2 min read


Published in

JavaScript in Plain English

·Sep 6

How to Trigger Events on an Element Using Vue.js

Sometimes, we want to trigger events on an element with Vue.js. In this article, we’ll look at how to trigger events on an element with Vue.js. Trigger Events on an Element Using Vue.js We can trigger events on an element with Vue.js by assigning a ref to the element we want to trigger events for. Then we…

Programming

2 min read

How to Trigger Events on an Element Using Vue.js
How to Trigger Events on an Element Using Vue.js
Programming

2 min read


Published in

JavaScript in Plain English

·Sep 2

How to Filter Text Input to Only Accept Numbers and a Dot with Vue.js?

Sometimes, we want to filter text input to only accept numbers and a dot with Vue.js. In this article, we’ll look at how to filter text input to only accept numbers and a dot with Vue.js. Filter Text Input to Only Accept Numbers and a Dot with Vue.js We can filter text input to only accept numbers and a dot with Vue.js…

Programming

2 min read

How to Filter Text Input to Only Accept Numbers and a Dot with Vue.js?
How to Filter Text Input to Only Accept Numbers and a Dot with Vue.js?
Programming

2 min read


Aug 30

How to Make JavaScript Maps and Sets Reactive in Vue.js?

Sometimes, we want to use JavaScript maps and sets as reactive properties in Vue.js. In this article, we’ll look at how to use JavaScript maps and sets as reactive properties in Vue.js. Make JavaScript Maps and Sets Reactive in Vue.js We can use JavaScript maps and sets as reactive properties in Vue.js by reassigning them to new values. …

Programming

2 min read

How to Make JavaScript Maps and Sets Reactive in Vue.js?
How to Make JavaScript Maps and Sets Reactive in Vue.js?
Programming

2 min read


Published in

JavaScript in Plain English

·Aug 26

How to Delete a Property from Data Object with Vue.js?

Sometimes, we want to delete a property from a data object with Vue.js. In this article, we’ll look at how to delete a property from a data object with Vue.js. Delete a Property from Data Object with Vue.js To delete a property from a data object with Vue.js, we can use the this.$delete method. For instance, we can…

Programming

2 min read

How to Delete a Property from Data Object with Vue.js?
How to Delete a Property from Data Object with Vue.js?
Programming

2 min read


Published in

JavaScript in Plain English

·Aug 23

How to Watch for File Input File Selection Change Events in Vue.js?

Sometimes, we want to watch a file input for file selection change events in Vue.js. In this article, we’ll look at how to watch a file input for file selection change events in Vue.js. Watch for File Input File Selection Change Events in Vue.js We can watch a file input for file selection change events in Vue.js by listening to…

Programming

2 min read

How to Watch for File Input File Selection Change Events in Vue.js?
How to Watch for File Input File Selection Change Events in Vue.js?
Programming

2 min read


Published in

JavaScript in Plain English

·Aug 19

How to Display Different Content for Mobile Browsers in Vue.js Apps?

Sometimes, we want to display different content for mobile browsers in Vue.js apps. In this article, we’ll look at how to display different content for mobile browsers in Vue.js apps. Display Different Content for Mobile Browsers in Vue.js Apps We can display different content for mobile browsers in Vue.js apps by checking the user agent of the browser to…

Programming

2 min read

How to Display Different Content for Mobile Browsers in Vue.js Apps?
How to Display Different Content for Mobile Browsers in Vue.js Apps?
Programming

2 min read

John Au-Yeung

John Au-Yeung

80K Followers

Web developer. Check out https://thewebdev.info. Email me at hohanga@gmail.com

Following
  • Lanu Pitan

    Lanu Pitan

  • Toni Crowe

    Toni Crowe

  • Dale Clifford

    Dale Clifford

  • Adam, The Diabetic Cyborg

    Adam, The Diabetic Cyborg

  • Sam H Arnold

    Sam H Arnold

See all (6,405)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech

Teams