CoderFunda
  • Home
  • About us
    • Contact Us
    • Disclaimer
    • Privacy Policy
    • About us
  • Home
  • Php
  • HTML
  • CSS
  • JavaScript
    • JavaScript
    • Jquery
    • JqueryUI
    • Stock
  • SQL
  • Vue.Js
  • Python
  • Wordpress
  • C++
    • C++
    • C
  • Laravel
    • Laravel
      • Overview
      • Namespaces
      • Middleware
      • Routing
      • Configuration
      • Application Structure
      • Installation
    • Overview
  • DBMS
    • DBMS
      • PL/SQL
      • SQLite
      • MongoDB
      • Cassandra
      • MySQL
      • Oracle
      • CouchDB
      • Neo4j
      • DB2
      • Quiz
    • Overview
  • Entertainment
    • TV Series Update
    • Movie Review
    • Movie Review
  • More
    • Vue. Js
    • Php Question
    • Php Interview Question
    • Laravel Interview Question
    • SQL Interview Question
    • IAS Interview Question
    • PCS Interview Question
    • Technology
    • Other

09 February, 2021

Vue.js Reactivity System

 Programing Coderfunda     February 09, 2021     Vue.js Tutorial     No comments   

 

 

Vue.js Reactivity System

The reactivity system is one of the most distinctive features of Vue.js. In Vue.js, models are plain JavaScript objects. When we have to modify the models, the views are updated. This makes state management simple and intuitive, but it's also essential to understand how it works to avoid some common upcoming problems. Here, we will see how to deal with these problems by using the reactivity system.

How does it work?

If you pass a plain JavaScript object to a Vue.js instance as its data option, you will see that Vue.js makes this pass through all of its properties and convert them to getter/setters using Object.defineProperty.

This is an un-shimmable and an ES5-only feature. Because of this feature, Vue doesn't support IE8 and below versions.

The getter and setters are not visible to the user, but under the hood, they make Vue.js able to perform dependency-tracking and change-notification when you have to change or access the property. You can see the getter/setters properties changes on the browser's console. If you want to see them, you have to install vue-devtools for a more inspection-friendly interface.

Every component instance has a corresponding watcher instance. This is used to record the properties "touched" during the component's render as dependencies. After that, when a dependency's setter is triggered, it notifies the watcher, which re-render the component in turn.

Vue.js Reactivity System

Vue.js Reactive Interface

Vue.js provides us an option to add reactivity to the dynamically added properties. Suppose, we have already created Vue.js instance and we want to add the watch property. See the following example:

Example:

Index.html file:

  1. <html>    
  2.    <head>    
  3.       <title>Vue.js Reactive Interface</title>    
  4.       <link rel="stylesheet" href="index.css">    
  5.         <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>    
  6.     </head>    
  7.     <body>    
  8.       <div id = "reactivity_1">  
  9.          <p style = "font-size:25px;">Counter: {{ counter }}</p>  
  10.          <button @click = "counter++" style = "font-size:25px;">Click Here</button>  
  11.       </div>   
  12.       <script src="index.js"></script>    
  13.    </body>    
  14. </html>   

Index.js file:

  1. var vm = new Vue({  
  2.             el: '#reactivity_1',  
  3.             data: {  
  4.                counter: 1  
  5.             }  
  6.          });  
  7.          vm.$watch('counter', function(nval, oval) {  
  8.             alert('Counter is incremented :' + oval + ' to ' + nval + '!');  
  9.          });  
  10.          setTimeout(  
  11.             function(){  
  12.                vm.counter = 10;  
  13.             },1000  
  14.          )  

Let's use a simple CSS file to make the output more attractive.

Index.css file:

  1. html, body {  
  2.     margin: 5px;  
  3.     padding: 0;  
  4. }  

After the execution of the program, you will see the following output:

Output:

Vue.js Reactivity System
Vue.js Reactivity System

When you click on the "Click Here" button, the counter will be incremented. You will see a pop-up output or an alert message that shows the counter property's changed value.

See the following output after we have clicked on the "Click here" button.

Vue.js Reactivity System
Vue.js Reactivity System

Example Explanation

In the above example, we have defined a property counter that is set to 1 in the data object. When you click on the "Click Here" button, the counter will be incremented.

After creating the Vue.js instance, we have to add the watch property to it.Use the following code to add it:

  1. vm.$watch('counter', function(nval, oval) {  
  2.    alert('Counter is incremented :' + oval + ' to ' + nval + '!');  
  3. });   

We have used the $watch property to add watch outside the Vue instance. We have also added an alert used to show the value change for the counter property. A timer function is also added named setTimeout to set the counter value to 10.

  1. setTimeout(  
  2.    function(){  
  3.       vm.counter = 10;  
  4.    },1000  
  5. );  

Whenever you click the button, the counter will be changed, and the alert from the watch method will get fired.

Add properties at Runtime.

It is the best way always to declare the properties, which need to be reactive upfront in the Vue.js instance because Vue.js cannot detect property addition and deletion.

If you want to add properties at run time, you have to make use of Vue global, Vue.set, and Vue.delete methods.

Vue.set

This is used to set a property on an object. This is used to overcome the limitation that Vue.js cannot detect property additions.

Syntax

  1. Vue.set( target, key, value )  

Here,

target: It can be an object or an array.

key: It can be a string or number.

value: It can be any type.

Let's take a simple example to understand the concept of Vue.set.

Example:

Index.html file:

  1. <html>    
  2.    <head>    
  3.       <title>Vue.js Reactive Interface</title>    
  4.       <link rel="stylesheet" href="index.css">    
  5.         <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>    
  6.     </head>    
  7.     <body>    
  8.       <div id = "reactivity_1">  
  9.          <p style = "font-size:25px;">Counter value: {{ products.id }}</p>  
  10.          <button @click = "products.id++" style = "font-size:25px;">Click Here</button>  
  11.       </div>  
  12.       <script src="index.js"></script>    
  13.    </body>    
  14. </html>    

Index.js file:

  1. var myproduct = {"id":1, name:"shirt", "price":"1000.00"};  
  2.          var vm = new Vue({  
  3.             el: '#reactivity_1',  
  4.             data: {  
  5.                counter: 1,  
  6.                products: myproduct  
  7.             }  
  8.          });  
  9.          vm.products.qty = "1";  
  10.          console.log(vm);  
  11.          vm.$watch('counter', function(nval, oval) {  
  12.             alert('Counter is incremented :' + oval + ' to ' + nval + '!');  
  13.          })   

After the execution of the program, you will see the following output:

Output:

Vue.js Reactivity System

Here, you will see that the counter value will be increased every time when you click on the "Click Here" button. See the following output. Here, we have clicked button for 5 times.

Vue.js Reactivity System

Example Explanation

In the above example, we have created a variable named myproduct at the start using the following code:

  1. var myproduct = {"id":1, name:"shirt", "price":"1000.00"};  

It is given to the data object in Vue.js instance as follows:

  1. var vm = new Vue({  
  2.             el: '#reactivity_1',  
  3.             data: {  
  4.                counter: 1,  
  5.                products: myproduct  
  6.             }  
  7.          });  

Suppose, you have to add one more property to the myproduct array, after the Vue.js instance is created. You can do this by using the following code:

  1. vm.products.qty = "1";   

If you see the output on the console, you will find that in products list, the quantity will be added. The get/set methods, which basically add reactivity, are available for the id, name, and price, and not available for the qty.

So, you can see that the reactivity cannot be achieved by just adding the vue object. In Vue.js, you have to create its all properties at the start. If you want to do it later, we can use Vue.set. See an other example where all the properties are added later.

Example:

Index.html file:

  1. <html>    
  2.    <head>    
  3.       <title>Vue.js Reactive Interface</title>    
  4.       <link rel="stylesheet" href="index.css">    
  5.         <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>    
  6.     </head>    
  7.     <body>    
  8.       <div id = "reactivity_1">  
  9.          <p style = "font-size:25px;">Counter value: {{ products.id }}</p>  
  10.          <button @click = "products.id++" style = "font-size:25px;">Click Here</button>  
  11.       </div>  
  12.       <script src="index.js"></script>    
  13.    </body>    
  14. </html>   

Index.js file:

  1. var myproduct = {"id":1, name:"shirt", "price":"1000.00"};  
  2.          var vm = new Vue({  
  3.             el: '#reactivity_1',  
  4.             data: {  
  5.                counter: 1,  
  6.                products: myproduct  
  7.             }  
  8.          });  
  9.          Vue.set(myproduct, 'qty', 1);  
  10.          console.log(vm);  
  11.          vm.$watch('counter', function(nval, oval) {  
  12.             alert('Counter is incremented :' + oval + ' to ' + nval + '!');  
  13.          })  

In the above example, we have used Vue.set to add the qty to the array using the following code:

  1. Vue.set(myproduct, 'qty', 1);   

If you run this example on the console, you will see that the get/set for qty is added using Vue.set method.

Vue.delete

The Vue.delete function is used to delete the property dynamically. This is also used to overcome the limitation that Vue.js cannot detect property deletion.

Syntax:

  1. Vue.delete( target, key )  

Here,

target: It is used to specify an object or an array.

key: It is used to specify a string or a number.

Let's see an example to demonstrate how to delete any property dynamically in Vue.js using Vue.delete function.

Example

Index.html file:

  1. <html>    
  2.    <head>    
  3.       <title>Vue.js Reactive Interface</title>    
  4.       <link rel="stylesheet" href="index.css">    
  5.         <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>    
  6.     </head>    
  7.     <body>    
  8.       <div id = "reactivity_1">  
  9.          <p style = "font-size:25px;">Counter value: {{ products.id }}</p>  
  10.          <button @click = "products.id++" style = "font-size:25px;">Click Here</button>  
  11.       </div>  
  12.       <script src="index.js"></script>    
  13.    </body>    
  14. </html>    

Index.js file:

  1. var myproduct = {"id":1, name:"shirt", "price":"1000.00"};  
  2.          var vm = new Vue({  
  3.             el: '#reactivity_1',  
  4.             data: {  
  5.                counter: 1,  
  6.                products: myproduct  
  7.             }  
  8.          });  
  9.           Vue.delete(myproduct, 'price');  
  10.          console.log(vm);  
  11.          vm.$watch('counter', function(nval, oval) {  
  12.             alert('Counter is incremented :' + oval + ' to ' + nval + '!');  
  13.          })    

In the above example, we have used the Vue.delete function to delete the price from the array by using the following code:

  1. Vue.delete(myproduct, 'price');  

When you see the output of the above example on the console, you will see that only the id and name are visible on the console as the price is deleted. We will also notice that the get/set methods are deleted. 

 

Source by : javatpoint.com

 


Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg

Vue.js Render functions

 Programing Coderfunda     February 09, 2021     Vue.js Tutorial     No comments   

 

 

Vue.js Render functions

Vue.js recommends us to use templates to build HTML. Here, we can use the render function as a closer-to-the-compiler alternative to templates.

Vue.js render functions are also used along with Vue.js components. Most of the time, the render function is created by the Vue.js compiler. When you specify a template on your component, this template's content is processed by the Vue.js compiler that will return a render function. The render function essentially returns a virtual DOM node, which will be rendered by Vue.js in your browser DOM.

What is the virtual Document Object Model or "DOM"?

The virtual DOM allows Vue.js to render your component in its memory before updating your browser. This makes everything faster because it has to do only a few interactions with the browser. When Vue.js updates the browser DOM, it compares the updated virtual DOM to the previous one and updates the real DOM with the modified parts. That's how it enhances performance.


Let's take an example of a simple component and see what the render function puts the effect when we use it within the example.

Index.html file:

  1. <html>    
  2.    <head>    
  3.       <title>Vue.js Component</title>    
  4.       <link rel="stylesheet" href="index.css">    
  5.         <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>    
  6.     </head>    
  7.     <body>    
  8.       <div id = "component_test">    
  9.          <testcomponent></testcomponent>    
  10.       </div>    
  11.       <script src="index.js"></script>    
  12.    </body>    
  13. </html>    

Index.js file:

  1. Vue.component('testcomponent',{    
  2.    template : '<h1>Hello Students!</h1>'    
  3. });    
  4. var vm = new Vue({    
  5.    el: '#component_test'    
  6. })  

Let's use a simple CSS file to make the output more attractive.

Index.css file:

  1. html, body {  
  2.     margin: 5px;  
  3.     padding: 0;  
  4. }  

After the execution of the program, you will see the following output:

Output:

Vue.js Render functions

Here, you can see that the component shows the above result as Hello Students. Now, if you reuse the component repeatedly, you will see that the result would be printed again and again. For example,

  1. <div id = "component_test">  
  2.    <testcomponent></testcomponent>  
  3.    <testcomponent></testcomponent>  
  4.    <testcomponent></testcomponent>  
  5.    <testcomponent></testcomponent>  
  6.    <testcomponent></testcomponent>  
  7. </div>   

Output:

Vue.js Render functions

Suppose, you don't want the same text to be printed again and again so, what will you do? Let's make some changes and type something inside the component as follows:

Index.html file:

  1. <html>    
  2.    <head>    
  3.       <title>Vue.js Component</title>    
  4.       <link rel="stylesheet" href="index.css">    
  5.         <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>    
  6.     </head>    
  7.     <body>    
  8.       <div id = "component_test">    
  9.    <testcomponent>Hello Rahul!</testcomponent>  
  10.    <testcomponent>Hello James!</testcomponent>  
  11.    <testcomponent>Hello Alex!</testcomponent>  
  12.    <testcomponent>Hello Priti!</testcomponent>  
  13.    <testcomponent>Hello Mohan!</testcomponent>  
  14.       </div>    
  15.       <script src="index.js"></script>    
  16.    </body>    
  17. </html>    

Index.js file will be same as above.

After the execution of the program, you will see the following output:

Output:

Vue.js Render functions

You can see that the output remains the same as earlier. It does not change the text as we want.

Use of Slot

Now, we will use slots that are provided by components to get the desired result.

Syntax:

  1. template : '<h1><slot></slot></h1>',  

See the following example:

Index.html file:

  1. <html>    
  2.    <head>    
  3.       <title>Vue.js Component</title>    
  4.       <link rel="stylesheet" href="index.css">    
  5.         <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>    
  6.     </head>    
  7.     <body>    
  8.       <div id = "component_test">    
  9.    <testcomponent>Hello Rahul!</testcomponent>  
  10.    <testcomponent>Hello James!</testcomponent>  
  11.    <testcomponent>Hello Alex!</testcomponent>  
  12.    <testcomponent>Hello Priti!</testcomponent>  
  13.    <testcomponent>Hello Mohan!</testcomponent>  
  14.       </div>    
  15.       <script src="index.js"></script>    
  16.    </body>    
  17. </html>    

Index.js file:

  1. Vue.component('testcomponent',{    
  2.     template : '<h1><slot></slot></h1>',    
  3. });    
  4. var vm = new Vue({    
  5.    el: '#component_test'    
  6. })  

After the execution of the program, you will see the following output:

Output:

Vue.js Render functions

How to use render Function?

Suppose, you have to change the color and size of the results in output for example, we were using h1 tag in our previous examples and we want to change the HTML tag to p tag or div tag or any other tag for the same component. We have all the flexibility to do the changes by using the render function. Render function helps make the component dynamic and use the way it is required by keeping it common and helping pass arguments using the same component.

Let's see an example to demonstrate the use of render function:

Index.html file:

  1. <html>    
  2.    <head>    
  3.       <title>Vue.js Component</title>    
  4.       <link rel="stylesheet" href="index.css">    
  5.         <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>    
  6.     </head>    
  7.     <body>    
  8.       <div id = "component_test">    
  9.    <testcomponent :elementtype = "'div,red,25,div1'">Hello Rahul!</testcomponent>  
  10.    <testcomponent :elementtype = "'h2,brown,25,div1'">Hello James!</testcomponent>  
  11.    <testcomponent :elementtype = "'p,blue,25,ptag'">Hello Alex!</testcomponent>  
  12.    <testcomponent :elementtype = "'div,green,25,divtag'">Hello Priti!</testcomponent>  
  13.    <testcomponent :elementtype = "'h4,blue,25,ptag'">Hello Mohan!</testcomponent>  
  14.       </div>    
  15.       <script src="index.js"></script>    
  16.    </body>    
  17. </html>    

Index.js file:

  1. Vue.component('testcomponent',{    
  2.     render :function(createElement){  
  3.                var a = this.elementtype.split(",");  
  4.                return createElement(a[0],{  
  5.                   attrs:{  
  6.                      id:a[3],  
  7.                      style:"color:"+a[1]+";font-size:"+a[2]+";"  
  8.                   }  
  9.                },  
  10.                this.$slots.default  
  11.                )  
  12.             },  
  13.             props:{  
  14.                elementtype:{  
  15.                   attributes:String,  
  16.                   required:true  
  17.                }  
  18.             }  
  19.          });  
  20.          var vm = new Vue({  
  21.             el: '#component_test'  
  22.          })  

After the execution of the program, you will see the following output:

Output:

Vue.js Render functions

Example Explanation

In the above example, you can see that we have changed the component and added the render function with props property using the following code in the Index.js file:

  1. Vue.component('testcomponent',{    
  2.     render :function(createElement){  
  3.                var a = this.elementtype.split(",");  
  4.                return createElement(a[0],{  
  5.                   attrs:{  
  6.                      id:a[3],  
  7.                      style:"color:"+a[1]+";font-size:"+a[2]+";"  
  8.                   }  
  9.                },  
  10.                this.$slots.default  
  11.                )  
  12.             },  
  13.             props:{  
  14.                elementtype:{  
  15.                   attributes:String,  
  16.                   required:true  
  17.                }  
  18.             }  
  19.          });  

Here, the props property looks like the following code:

  1. props:{  
  2.                elementtype:{  
  3.                   attributes:String,  
  4.                   required:true  
  5.                }  
  6.             }  
  7.          });  

When we use components with render functions, they do not have a template tag or property. Instead of them, they define a function called render that receives a createElement in the following structure:

Syntax:

  1. (renderElement: String | Component, definition: Object, children: String | Array) argument   

You can see it in the example as follows:

  1. render :function(createElement){  
  2.                var a = this.elementtype.split(",");  
  3.                return createElement(a[0],{  
  4.                   attrs:{  
  5.                      id:a[3],  
  6.                      style:"color:"+a[1]+";font-size:"+a[2]+";"  
  7.                   }  

We have also defined a property named elementtype, which takes attributes field of type string. In another required field, we have mentioned that the field is mandatory.

See the render function code where we have used the elementtype property as follows:

  1. render :function(createElement){  
  2.                var a = this.elementtype.split(",");  
  3.                return createElement(a[0],{  
  4.                   attrs:{  
  5.                      id:a[3],  
  6.                      style:"color:"+a[1]+";font-size:"+a[2]+";"  
  7.                   }  
  8.                },  
  9.                this.$slots.default  
  10.                )  
  11.             },  

The render function gets createElement as the argument and returns the same. The CreateElement creates the DOM element in the same way as it does in JavaScript. We have also split the elementtype on comma, using the values in the attrs field.

CreateElement takes the first param as the elementtag to be created. It is passed to the component as follows:

  1. <testcomponent :elementtype = "'div,red,25,div1'">Hello Rahul!</testcomponent>   

The component accepts the props field as the above code. It starts with the symbol : and after that the name of the props is specified. After specifying the prop's name, we have to pass the element tag, color, fontsize, and the id of the element.

In the render function, you can see that the first element is the elementtag in createElement field which is given to the createElemet as follows:

  1. return createElement(a[0],{  
  2.                   attrs:{  
  3.                      id:a[3],  
  4.                      style:"color:"+a[1]+";font-size:"+a[2]+";"  
  5.                   }  
  6.                },  
  7.                this.$slots.default  
  8.                )  
  9.             },  

In the above code, the a[0] is the html element tag. The next parameters are the attributes for the element tag. They are defined in the attr field as follows:

  1. attrs:{  
  2.                      id:a[3],  
  3.                      style:"color:"+a[1]+";font-size:"+a[2]+";"  
  4.                   }  
  5.                },  

Here, we have defined two attributes for the element tag: id tag and style tag.

  • In the id tag, we have passed a[3], which is the value we have after splitting on comma.
  • In the style tag, we have passed a[1] and a[2] respectively to define color and fontsize.

The message we have given in component is specified as follows:

  1. <testcomponent :elementtype = "'div,red,25,div1'">Hello Rahul!</testcomponent>  

The slots field is used to define the text that we want to print in the createElement using the following code:

  1. this.$slots.default  

After the execution of the program when you see the output, you will see that all the output entries are displayed in a specific way. This is because of the elements f the component structure we have defined in a specific way.

  1. <div id = "component_test">    
  2.    <testcomponent :elementtype = "'div,red,25,div1'">Hello Rahul!</testcomponent>  
  3.    <testcomponent :elementtype = "'h2,brown,25,div1'">Hello James!</testcomponent>  
  4.    <testcomponent :elementtype = "'p,blue,25,ptag'">Hello Alex!</testcomponent>  
  5.    <testcomponent :elementtype = "'div,green,25,divtag'">Hello Priti!</testcomponent>  
  6.    <testcomponent :elementtype = "'h4,blue,25,ptag'">Hello Mohan!</testcomponent>  
  7.       </div>  

Event binding in Vue.js render functions

Let's see an example to demonstrate event binding in Vue.js render function. See the following example:

Example

Index.html file:

  1. <html>    
  2.    <head>    
  3.       <title>Vue.js Event binding in render function</title>    
  4.       <link rel="stylesheet" href="index.css">    
  5.         <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>    
  6.     </head>    
  7.     <body>    
  8.       <div id="render_1"></div>  
  9.       <script src="index.js"></script>    
  10.    </body>    
  11. </html>  

Index.js file:

  1. new Vue({  
  2.   el: '#render_1',  
  3.   data() {  
  4.     return {  
  5.       clickCount: 0,  
  6.     }  
  7.   },  
  8.   methods: {  
  9.     onClick() {  
  10.       this.clickCount += 1;  
  11.     }  
  12.   },  
  13.   render(createElement) {  
  14.     const button = createElement('button', {  
  15.       on: {  
  16.         click: this.onClick  
  17.       }  
  18.     }, 'Click me');  
  19.     const counter = createElement('span', [  
  20.       'Number of clicks:',  
  21.       this.clickCount  
  22.     ]);  
  23.     return createElement('div', [  
  24.       button, counter  
  25.     ])  
  26.   }  
  27. });  

After the execution of the program, you will see the following output:

Output:

Vue.js Render functions

When you click on the "Click me" button, you will see that the number of clicks has been displayed as how many times you have clicked on the button. See the output:

Vue.js Render functions

In the above example, the button is clicked four times.

 

Source by : javatpoint.com

 

Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg

Vue.js Tutorial

 Programing Coderfunda     February 09, 2021     Vue.js Tutorial     No comments   

 

Vue.js Tutorial

  • Vue.js Tutorial
  •  
  • Vue.js Tutorial open link 
  • Vue.js Installation
  •  
    Vue.js Getting started
  •  
    Declarative Rendering
  •  
    Conditions & Loops
  •  
    Vue.js Instances
  •  
    Vue.js Template
  •  
    Vue.js Components
  •  
    Computed Properties
  •  
    Vue.js Watch Property
  •  
    Vue.js Event Handling
  •  
    Data Binding
  •  
    Vue.js Data Binding
  •  
    Form Input Bindings

     
  • Transition & Animation

  • Transition & Animation

    Vue.js Animation
  •  
    Explicit Transition
  •  
    Vue.js Custom Directives
  •  
    Vue.js Routing
  •  
    Vue.js Mixins
  •  
    Vue.js Render functions
  •  
    Vue.js Reactivity System



Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg

05 February, 2021

Vue.js Tutorial

 Programing Coderfunda     February 05, 2021     Vue, Vue.js Tutorial     No comments   

Vue.js Tutorial

  • Vue.js Tutorial
  •  
  • Vue.js Tutorial open link 
  • Vue.js Installation
  •  
    Vue.js Getting started
  •  
    Declarative Rendering
  •  
    Conditions & Loops
  •  
    Vue.js Instances
  •  
    Vue.js Template
  •  
    Vue.js Components
  •  
    Computed Properties
  •  
    Vue.js Watch Property
  •  
    Vue.js Event Handling
  •  
    Data Binding
  •  
    Vue.js Data Binding
  •  
    Form Input Bindings

     
  • Transition & Animation

  • Transition & Animation

    Vue.js Animation
  •  
    Explicit Transition
  •  
    Vue.js Custom Directives
  •  
    Vue.js Routing
  •  
    Vue.js Mixins
  •  
    Vue.js Render functions
  •  
    Vue.js Reactivity System


Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg
Newer Posts Older Posts Home

Meta

Popular Posts

  • Credit card validation in laravel
      Validation rules for credit card using laravel-validation-rules/credit-card package in laravel Install package laravel-validation-rules/cr...
  • Write API Integrations in Laravel and PHP Projects with Saloon
    Write API Integrations in Laravel and PHP Projects with Saloon Saloon  is a Laravel/PHP package that allows you to write your API integratio...
  • iOS 17 Force Screen Rotation not working on iPAD only
    I have followed all the links on Google and StackOverFlow, unfortunately, I could not find any reliable solution Specifically for iPad devic...
  • C++ in Hindi Introduction
    C ++ का परिचय C ++ एक ऑब्जेक्ट ओरिएंटेड प्रोग्रामिंग लैंग्वेज है। C ++ को Bjarne Stroustrup द्वारा विकसित किया गया था। C ++ में आने से पह...
  • Python AttributeError: 'str' has no attribute glob
    I am trying to look for a folder in a directory but I am getting the error.AttributeError: 'str' has no attribute glob Here's ...

Categories

  • Ajax (26)
  • Bootstrap (30)
  • DBMS (42)
  • HTML (12)
  • HTML5 (45)
  • JavaScript (10)
  • Jquery (34)
  • Jquery UI (2)
  • JqueryUI (32)
  • Laravel (1017)
  • Laravel Tutorials (23)
  • Laravel-Question (6)
  • Magento (9)
  • Magento 2 (95)
  • MariaDB (1)
  • MySql Tutorial (2)
  • PHP-Interview-Questions (3)
  • Php Question (13)
  • Python (36)
  • RDBMS (13)
  • SQL Tutorial (79)
  • Vue.js Tutorial (68)
  • Wordpress (150)
  • Wordpress Theme (3)
  • codeigniter (108)
  • oops (4)
  • php (853)

Social Media Links

  • Follow on Twitter
  • Like on Facebook
  • Subscribe on Youtube
  • Follow on Instagram

Pages

  • Home
  • Contact Us
  • Privacy Policy
  • About us

Blog Archive

  • July (2)
  • September (100)
  • August (50)
  • July (56)
  • June (46)
  • May (59)
  • April (50)
  • March (60)
  • February (42)
  • January (53)
  • December (58)
  • November (61)
  • October (39)
  • September (36)
  • August (36)
  • July (34)
  • June (34)
  • May (36)
  • April (29)
  • March (82)
  • February (1)
  • January (8)
  • December (14)
  • November (41)
  • October (13)
  • September (5)
  • August (48)
  • July (9)
  • June (6)
  • May (119)
  • April (259)
  • March (122)
  • February (368)
  • January (33)
  • October (2)
  • July (11)
  • June (29)
  • May (25)
  • April (168)
  • March (93)
  • February (60)
  • January (28)
  • December (195)
  • November (24)
  • October (40)
  • September (55)
  • August (6)
  • July (48)
  • May (2)
  • January (2)
  • July (6)
  • June (6)
  • February (17)
  • January (69)
  • December (122)
  • November (56)
  • October (92)
  • September (76)
  • August (6)

Loading...

Laravel News

Loading...

Copyright © CoderFunda | Powered by Blogger
Design by Coderfunda | Blogger Theme by Coderfunda | Distributed By Coderfunda