Skip to main content

Posts

Showing posts with the label Vuejs 2 Interview Questions and Answers

How To CREATE Custom Filters in Vue.js 2? How To Use filters?

The  Vue.js  is a progressive JavaScript framework and used to building the interactive user interfaces and also it’s focused on the view layer only (front end). The  Vue.js  is easy to integrate with other libraries and others existing projects.  Vue.js  is very popular for Single Page Applications developments. The  Vue.js  is lighter, smaller in size and so faster. It also supports the MVVM ( Model-View-ViewModel ) pattern. How To CREATE Custom Filters in Vue.js 2? HTML Code – < script   src = "https://unpkg.com/vue" ></ script > < div   id = "demo-app" >    < ul >      < li   v-for = "customer in customers" >       {{customer.id}} {{ customer.name }} and Age Are ({{customer.age}}) Years      </ li >    < ul > < div > VueJs Code – //Model class var ...

How To Handle Events in Vue.js 2?

What Is Vue.js? The  Vue.js  is a progressive JavaScript framework and used to building the interactive user interfaces and also it’s focused on the view layer only (front end). The  Vue.js  is easy to integrate with other libraries and others existing projects.  Vue.js  is very popular for Single Page Applications developments. The  Vue.js  is lighter, smaller in size and so faster. It also supports the MVVM ( Model-View-ViewModel ) pattern. How To Handle Events in Vue.js? HTML Code – < script   src = "https://unpkg.com/vue" ></ script > < div   id = "demo-app" >    < input   type = "text"   v-model = "name" >    < button   v-on:click = "myClickMethod" > Click Me?  </ button > < div > VueJs Code – //Model class var   customerModel  = {    name:   "Anil Singh" ,    age: ...