<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>vue js Archives - Codeplaners</title>
	<atom:link href="https://codeplaners.com/tag/vue-js/feed/" rel="self" type="application/rss+xml" />
	<link>https://codeplaners.com/tag/vue-js/</link>
	<description>Code Solution</description>
	<lastBuildDate>Thu, 20 Jan 2022 09:47:54 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.1.7</generator>

<image>
	<url>https://codeplaners.com/wp-content/uploads/2020/09/cropped-favicon-social-32x32.png</url>
	<title>vue js Archives - Codeplaners</title>
	<link>https://codeplaners.com/tag/vue-js/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Download File using Axios In Vue JS</title>
		<link>https://codeplaners.com/download-file-using-axios-in-vue-js/</link>
					<comments>https://codeplaners.com/download-file-using-axios-in-vue-js/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Thu, 20 Jan 2022 09:47:54 +0000</pubDate>
				<category><![CDATA[Vue Js]]></category>
		<category><![CDATA[Axios]]></category>
		<category><![CDATA[vue js]]></category>
		<guid isPermaLink="false">https://codeplaners.com/?p=1390</guid>

					<description><![CDATA[<p>Hi Dev, Today, i we will show you download file using axios in vue js. This article will give you simple example of download file using axios in vue js. you will download file using axios in vue js. In this article, we will implement a download file using axios in vue js. So let’s &#8230; <a href="https://codeplaners.com/download-file-using-axios-in-vue-js/" class="more-link">Continue reading<span class="screen-reader-text"> "Download File using Axios In Vue JS"</span></a></p>
<p>The post <a rel="nofollow" href="https://codeplaners.com/download-file-using-axios-in-vue-js/">Download File using Axios In Vue JS</a> appeared first on <a rel="nofollow" href="https://codeplaners.com">Codeplaners</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Hi Dev,</p>
<p>Today, i we will show you download file using axios in vue js. This article will give you simple example of download file using axios in vue js. you will download file using axios in vue js. In this article, we will implement a download file using axios in vue js. </p>
<p>So let’s follow few step to create example of download file using axios in vue js.</p>
<h3 class="step_code">Example</h3>
<pre class="brush: xml; title: ; notranslate">
&lt;!DOCTYPE html&gt;
&lt;html&gt;
&lt;head&gt;
    &lt;title&gt;Download File using Axios In Vue JS &lt;/title&gt;
    &lt;script src=&quot;https://cdn.jsdelivr.net/npm/vue&quot;&gt;&lt;/script&gt;
    &lt;script src=&quot;https://cdnjs.cloudflare.com/ajax/libs/axios/0.19.0/axios.min.js&quot; &gt;&lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;div id=&quot;app&quot;&gt;
  &lt;button @click=&quot;onClick()&quot;&gt;DownLoad&lt;/button&gt;
&lt;/div&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
   
    var app = new Vue({
      el: '#app',
      methods: {
          onClick() {
            axios({
                  url: 'http://localhost:8000/my.pdf',
                  method: 'GET',
                  responseType: 'blob',
              }).then((response) =&gt; {
                   var fileURL = window.URL.createObjectURL(new Blob(&#x5B;response.data]));
                   var fileLink = document.createElement('a');

                   fileLink.href = fileURL;
                   fileLink.setAttribute('download', 'file.pdf');
                   document.body.appendChild(fileLink);

                   fileLink.click();
              });
          }
      }
    })
&lt;/script&gt;
&lt;/body&gt;
&lt;/html&gt;
</pre>
<p>I hope it will assist you…</p>
<p>The post <a rel="nofollow" href="https://codeplaners.com/download-file-using-axios-in-vue-js/">Download File using Axios In Vue JS</a> appeared first on <a rel="nofollow" href="https://codeplaners.com">Codeplaners</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://codeplaners.com/download-file-using-axios-in-vue-js/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How To Add Class To Element On Clicked In Vue Js</title>
		<link>https://codeplaners.com/how-to-add-class-to-element-on-clicked-in-vue-js/</link>
					<comments>https://codeplaners.com/how-to-add-class-to-element-on-clicked-in-vue-js/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Sun, 15 Aug 2021 00:24:07 +0000</pubDate>
				<category><![CDATA[Vue Js]]></category>
		<category><![CDATA[vue js]]></category>
		<guid isPermaLink="false">https://codeplaners.com/?p=1236</guid>

					<description><![CDATA[<p>Hi, Today, i we will show you how to add class to element on clicked in Vue Js. This article will give you simple example of how to add class to element on clicked in Vue Js. you will learn how to add class to element on clicked in Vue Js. So let’s follow few &#8230; <a href="https://codeplaners.com/how-to-add-class-to-element-on-clicked-in-vue-js/" class="more-link">Continue reading<span class="screen-reader-text"> "How To Add Class To Element On Clicked In Vue Js"</span></a></p>
<p>The post <a rel="nofollow" href="https://codeplaners.com/how-to-add-class-to-element-on-clicked-in-vue-js/">How To Add Class To Element On Clicked In Vue Js</a> appeared first on <a rel="nofollow" href="https://codeplaners.com">Codeplaners</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Hi,</p>
<p>Today, i we will show you how to add class to element on clicked in Vue Js. This article will give you simple example of how to add class to element on clicked in Vue Js. you will learn how to add class to element on clicked in Vue Js. </p>
<p>So let’s follow few step to create example of how to add class to element on clicked in Vue Js.</p>
<p><img decoding="async" style="border: 3px solid #ff5722;" alt="How To Add Class To Element On Clicked In Vue Js" class="lazyloaded" src="https://codeplaners.com/wp-content/uploads/2021/08/add-class.png"></p>
<h3 class="step_code">Example:</h3>
<pre class="brush: jscript; title: ; notranslate">
&lt;!DOCTYPE html&gt;
&lt;html&gt;
&lt;head&gt;
  &lt;title&gt;How To Add Class To Element On Clicked In Vue Js&lt;/title&gt;
  &lt;style&gt;
   .newClass
    {
      box-shadow: 0px 0px 5px #000; 
      background-color: green;
      color: #fff;
      padding: 3px 5px;
    }
  &lt;/style&gt;
  &lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/5.0.0-alpha1/css/bootstrap.min.css&quot;&gt;
  &lt;script type=&quot;text/javascript&quot; src=&quot;https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js&quot;&gt;&lt;/script&gt;
&lt;/head&gt;
&lt;body class=&quot;bg-dark&quot;&gt;
  &lt;div class=&quot;container&quot;&gt;
    &lt;div class=&quot;col-md-5 offset-md-3&quot;&gt;
      &lt;div class=&quot;card mt-5&quot;&gt;
        &lt;div class=&quot;card-header&quot;&gt;
          &lt;h5&gt;How To Add Class To Element On Clicked In Vue Js&lt;/h5&gt;
        &lt;/div&gt;
        &lt;div class=&quot;card-body&quot;&gt;
          &lt;div class=&quot;row&quot;&gt;
            &lt;div class=&quot;col-md-12&quot;&gt;
              &lt;div id=&quot;app&quot;&gt;
                  &lt;button v-on:click=&quot;addClass&quot; :class=&quot;{'newClass': isAddClass}&quot; class=&quot;btn-block&quot;&gt;
                      Click Me
                  &lt;/button&gt;
              &lt;/div&gt;
            &lt;/div&gt;
          &lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;script src=&quot;https://cdnjs.cloudflare.com/ajax/libs/vue/1.0.18/vue.min.js&quot;&gt;&lt;/script&gt;
&lt;script&gt;
Vue.config.devtools = true
var vm = new Vue({
    el: '#app',
    data: {
        isAddClass: false,
    },
    methods: {
            addClass: function() {
                this.isAddClass = true;
        }
    }
});
&lt;/script&gt;
&lt;/body&gt;
&lt;/html&gt;
</pre>
<p>I hope it will assist you…</p>
<p>The post <a rel="nofollow" href="https://codeplaners.com/how-to-add-class-to-element-on-clicked-in-vue-js/">How To Add Class To Element On Clicked In Vue Js</a> appeared first on <a rel="nofollow" href="https://codeplaners.com">Codeplaners</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://codeplaners.com/how-to-add-class-to-element-on-clicked-in-vue-js/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How To Delete Element Array Reactively In Vue Js</title>
		<link>https://codeplaners.com/how-to-delete-element-array-reactively-in-vue-js/</link>
					<comments>https://codeplaners.com/how-to-delete-element-array-reactively-in-vue-js/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Sun, 15 Aug 2021 00:13:05 +0000</pubDate>
				<category><![CDATA[Vue Js]]></category>
		<category><![CDATA[vue js]]></category>
		<guid isPermaLink="false">https://codeplaners.com/?p=1232</guid>

					<description><![CDATA[<p>Hi, Today, i we will show you how to delete element array reactively in Vue Js. This article will give you simple example of how to delete element array reactively in Vue Js. you will learn how to delete element array reactively in Vue Js. So let’s follow few step to create example of how &#8230; <a href="https://codeplaners.com/how-to-delete-element-array-reactively-in-vue-js/" class="more-link">Continue reading<span class="screen-reader-text"> "How To Delete Element Array Reactively In Vue Js"</span></a></p>
<p>The post <a rel="nofollow" href="https://codeplaners.com/how-to-delete-element-array-reactively-in-vue-js/">How To Delete Element Array Reactively In Vue Js</a> appeared first on <a rel="nofollow" href="https://codeplaners.com">Codeplaners</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Hi,</p>
<p>Today, i we will show you how to delete element array reactively in Vue Js. This article will give you simple example of how to delete element array reactively in Vue Js. you will learn how to delete element array reactively in Vue Js. </p>
<p>So let’s follow few step to create example of how to delete element array reactively in Vue Js.</p>
<p><img decoding="async" style="border: 3px solid #ff5722;" alt="How To Delete Element Array Reactively In Vue Js" class="lazyloaded" src="https://codeplaners.com/wp-content/uploads/2021/08/delete-vue-js.png"></p>
<h3 class="step_code">Example:</h3>
<pre class="brush: jscript; title: ; notranslate">
&lt;!DOCTYPE html&gt;
&lt;html&gt;
&lt;head&gt;
  &lt;title&gt;How To Delete Element  Array Reactively In Vue Js &lt;/title&gt;
  &lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/5.0.0-alpha1/css/bootstrap.min.css&quot;&gt;
  &lt;script type=&quot;text/javascript&quot; src=&quot;https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js&quot;&gt;&lt;/script&gt;
&lt;/head&gt;
&lt;body class=&quot;bg-dark&quot;&gt;
  &lt;div class=&quot;container&quot;&gt;
    &lt;div class=&quot;col-md-6 offset-md-3&quot;&gt;
      &lt;div class=&quot;card mt-5&quot;&gt;
        &lt;div class=&quot;card-header&quot;&gt;
          &lt;h5 v-bind:class=&quot;red&quot;&gt;How To Delete Element  Array Reactively In Vue Js &lt;/h5&gt;
        &lt;/div&gt;
        &lt;div class=&quot;card-body&quot;&gt;
          &lt;div class=&quot;row&quot;&gt;
            &lt;div class=&quot;col-md-12&quot;&gt;
              &lt;ul&gt;
                &lt;li v-for=&quot;item in items&quot; v-text=&quot;item.message&quot;&gt;&lt;/li&gt;
              &lt;/ul&gt;
              &lt;button class=&quot;btn btn-outline-primary&quot; @click=&quot;deleteFirst&quot;&gt;
                Delete First
              &lt;/button&gt;
              &lt;button class=&quot;btn btn-outline-danger&quot; @click=&quot;deleteLast&quot;&gt;
                Delete Last
              &lt;/button&gt;
            &lt;/div&gt;
          &lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;script src=&quot;https://cdnjs.cloudflare.com/ajax/libs/vue/1.0.18/vue.min.js&quot;&gt;&lt;/script&gt;
&lt;script&gt;
  Vue.config.devtools = true
  var app = new Vue({
    el:'.card-body',
    data:{
      items:&#x5B;
           { message: 'Php' },
           { message: 'Laravel'},
           { message: 'Java'},
           { message: 'Html'},
      ],
    },
      methods: {
        deleteFirst() {
          this.items.shift();
          // delete last
        },
        deleteLast() {
          this.items.pop();
          // delete last
        }
      }
  })
&lt;/script&gt;
&lt;/body&gt;
&lt;/html&gt;
</pre>
<p>I hope it will assist you…</p>
<p>The post <a rel="nofollow" href="https://codeplaners.com/how-to-delete-element-array-reactively-in-vue-js/">How To Delete Element Array Reactively In Vue Js</a> appeared first on <a rel="nofollow" href="https://codeplaners.com">Codeplaners</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://codeplaners.com/how-to-delete-element-array-reactively-in-vue-js/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How To Call Function On Load in Vue JS</title>
		<link>https://codeplaners.com/how-to-call-function-on-load-in-vue-js/</link>
					<comments>https://codeplaners.com/how-to-call-function-on-load-in-vue-js/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Sun, 15 Aug 2021 00:02:39 +0000</pubDate>
				<category><![CDATA[Vue Js]]></category>
		<category><![CDATA[vue js]]></category>
		<guid isPermaLink="false">https://codeplaners.com/?p=1227</guid>

					<description><![CDATA[<p>Hi, Today, i we will show you how to call function on load in vue js. This article will give you simple example of how to call function on load in vue js. you will learn how to call function on load in vue js. So let’s follow few step to create example of how &#8230; <a href="https://codeplaners.com/how-to-call-function-on-load-in-vue-js/" class="more-link">Continue reading<span class="screen-reader-text"> "How To Call Function On Load in Vue JS"</span></a></p>
<p>The post <a rel="nofollow" href="https://codeplaners.com/how-to-call-function-on-load-in-vue-js/">How To Call Function On Load in Vue JS</a> appeared first on <a rel="nofollow" href="https://codeplaners.com">Codeplaners</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Hi,</p>
<p>Today, i we will show you how to call function on load in vue js. This article will give you simple example of how to call function on load in vue js. you will learn how to call function on load in vue js. So let’s follow few step to create example of how to call function on load in vue js.</p>
<h3 class="step_code">Example:</h3>
<pre class="brush: jscript; title: ; notranslate">
&lt;!DOCTYPE html&gt;
&lt;html&gt;
&lt;head&gt;
    &lt;title&gt;How To Call Function On Load in Vue JS &lt;/title&gt;
    &lt;script src=&quot;https://cdn.jsdelivr.net/npm/vue&quot;&gt;&lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;div id=&quot;app&quot;&gt;
  {{ message }}
&lt;/div&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
    var app = new Vue({
      el: '#app',
      data: {
        message: 'Hello Vue!'
      },
      methods:{
            myFunctionOnLoad: function() {
            console.log('call on load...');
        }
      },
      created: function(){
        this.myFunctionOnLoad()
      }
    })
&lt;/script&gt;
&lt;/body&gt;
&lt;/html&gt;
</pre>
<p>I hope it will assist you…</p>
<p>The post <a rel="nofollow" href="https://codeplaners.com/how-to-call-function-on-load-in-vue-js/">How To Call Function On Load in Vue JS</a> appeared first on <a rel="nofollow" href="https://codeplaners.com">Codeplaners</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://codeplaners.com/how-to-call-function-on-load-in-vue-js/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Use declare global variable in Vue JS</title>
		<link>https://codeplaners.com/how-to-use-declare-global-variable-in-vue-js/</link>
					<comments>https://codeplaners.com/how-to-use-declare-global-variable-in-vue-js/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Mon, 28 Jun 2021 23:49:57 +0000</pubDate>
				<category><![CDATA[Vue Js]]></category>
		<category><![CDATA[vue js]]></category>
		<guid isPermaLink="false">https://codeplaners.com/?p=1042</guid>

					<description><![CDATA[<p>Today, i we will show you how to use declare global variable in Vue JS. This article will give you simple example of how to use declare global variable in Vue JS. you will learn how to use declare global variable in Vue JS. So let&#8217;s follow few step to create example of how to &#8230; <a href="https://codeplaners.com/how-to-use-declare-global-variable-in-vue-js/" class="more-link">Continue reading<span class="screen-reader-text"> "How to Use declare global variable in Vue JS"</span></a></p>
<p>The post <a rel="nofollow" href="https://codeplaners.com/how-to-use-declare-global-variable-in-vue-js/">How to Use declare global variable in Vue JS</a> appeared first on <a rel="nofollow" href="https://codeplaners.com">Codeplaners</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Today, i we will show you how to use declare global variable in Vue JS. This article will give you simple example of how to use declare global variable in Vue JS. you will learn how to use declare global variable in Vue JS. So let&#8217;s follow few step to create example of how to use declare global variable in Vue JS.</p>
<h3>Example</h3>
<pre class="brush: jscript; title: ; notranslate">
&lt;!DOCTYPE html&gt;
&lt;html&gt;
&lt;head&gt;
    &lt;title&gt;How to Use declare global variable in Vue JS&lt;/title&gt;
    &lt;script src=&quot;https://cdn.jsdelivr.net/npm/vue&quot;&gt;&lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;
    
&lt;div id=&quot;app&quot;&gt;
    
  &lt;p&gt;Result : {{myResult}}&lt;/p&gt;
  &lt;button @click=&quot;clickFunction()&quot;&gt;Click Me&lt;/button&gt;
    
&lt;/div&gt;
   
&lt;script type=&quot;text/javascript&quot;&gt;
    Vue.mixin({
      data: function() {
        return {
          myGlobalVar:'this is my Codeplaners.com'
        }
      }
    })
 
    var app = new Vue({
      el: '#app',
      data: {
        myResult: ''
      },
      methods:{
        clickFunction: function () {   
            this.myResult = this.myGlobalVar;
        }
      }
    })
    
&lt;/script&gt;
&lt;/body&gt;
&lt;/html&gt;
</pre>
<h3>Output</h3>
<pre class="brush: jscript; title: ; notranslate">
Result : this is my Codeplaners.com
</pre>
<p>The post <a rel="nofollow" href="https://codeplaners.com/how-to-use-declare-global-variable-in-vue-js/">How to Use declare global variable in Vue JS</a> appeared first on <a rel="nofollow" href="https://codeplaners.com">Codeplaners</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://codeplaners.com/how-to-use-declare-global-variable-in-vue-js/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Vue JS Get Array Length Or Object Length Example</title>
		<link>https://codeplaners.com/vue-js-get-array-length-or-object-length-example/</link>
					<comments>https://codeplaners.com/vue-js-get-array-length-or-object-length-example/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Mon, 28 Jun 2021 23:30:53 +0000</pubDate>
				<category><![CDATA[Vue Js]]></category>
		<category><![CDATA[vue js]]></category>
		<guid isPermaLink="false">https://codeplaners.com/?p=1037</guid>

					<description><![CDATA[<p>Today, i we will show you vue js get array length or object length example. This article will give you simple example of vue js get array length or object length example. you will learn vue js get array length or object length example. So let&#8217;s follow few step to create example of vue js &#8230; <a href="https://codeplaners.com/vue-js-get-array-length-or-object-length-example/" class="more-link">Continue reading<span class="screen-reader-text"> "Vue JS Get Array Length Or Object Length Example"</span></a></p>
<p>The post <a rel="nofollow" href="https://codeplaners.com/vue-js-get-array-length-or-object-length-example/">Vue JS Get Array Length Or Object Length Example</a> appeared first on <a rel="nofollow" href="https://codeplaners.com">Codeplaners</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Today, i we will show you vue js get array length or object length example. This article will give you simple example of vue js get array length or object length example. you will learn vue js get array length or object length example. So let&#8217;s follow few step to create example of vue js get array length or object length example.</p>
<p>Preview:<br />
<img decoding="async" style="border: 3px solid #ff5722;" alt="vue js get array length or object length example"  src="https://codeplaners.com/wp-content/uploads/2021/06/vuejs.png"></p>
<h3>Example</h3>
<pre class="brush: jscript; title: ; notranslate">
&lt;!DOCTYPE html&gt;
&lt;html&gt;
&lt;head&gt;
    &lt;title&gt;Vue JS Get Array Length Or Object Length Example&lt;/title&gt;
    &lt;script src=&quot;https://cdn.jsdelivr.net/npm/vue&quot;&gt;&lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;
   
&lt;div id=&quot;app&quot;&gt;
   
  &lt;ul id=&quot;exampleApp&quot;&gt;
    &lt;li v-if=&quot;myArray.length&quot;&gt;Object Length = {{ myArray.length }}&lt;/li&gt;
    &lt;li v-for=&quot;value in myArray&quot;&gt;
      {{ value.category }}
    &lt;/li&gt;
  &lt;/ul&gt;
  
&lt;/div&gt;
  
&lt;script type=&quot;text/javascript&quot;&gt;
  
    var app = new Vue({
      el: '#app',
      data: {
        myArray: &#x5B;
          { category: 'Laravel' },
          { category: 'PHP' },
          { category: 'Wordpress' },
          { category: 'Codeigniter' }
        ]
      }
    })
  
&lt;/script&gt;
  
&lt;/body&gt;
&lt;/html&gt;
</pre>
<p>The post <a rel="nofollow" href="https://codeplaners.com/vue-js-get-array-length-or-object-length-example/">Vue JS Get Array Length Or Object Length Example</a> appeared first on <a rel="nofollow" href="https://codeplaners.com">Codeplaners</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://codeplaners.com/vue-js-get-array-length-or-object-length-example/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Vue JS Get Array And Object Length</title>
		<link>https://codeplaners.com/vue-js-get-array-and-object-length/</link>
					<comments>https://codeplaners.com/vue-js-get-array-and-object-length/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Fri, 21 May 2021 02:48:01 +0000</pubDate>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[Vue Js]]></category>
		<category><![CDATA[Source Code]]></category>
		<category><![CDATA[vue js]]></category>
		<category><![CDATA[vuejs]]></category>
		<guid isPermaLink="false">https://codeplaners.com/?p=808</guid>

					<description><![CDATA[<p>Hello Dev, Today, i we will show you Vue JS Get Array And Object Length. This article will give you simple example of Vue JS Get Array And Object Length. you will learn Vue JS Get Array And Object Length. If you don&#8217;t know how to get array and object length in vue js. i &#8230; <a href="https://codeplaners.com/vue-js-get-array-and-object-length/" class="more-link">Continue reading<span class="screen-reader-text"> "Vue JS Get Array And Object Length"</span></a></p>
<p>The post <a rel="nofollow" href="https://codeplaners.com/vue-js-get-array-and-object-length/">Vue JS Get Array And Object Length</a> appeared first on <a rel="nofollow" href="https://codeplaners.com">Codeplaners</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Hello Dev,</p>
<p>Today, i we will show you Vue JS Get Array And Object Length. This article will give you simple example of Vue JS Get Array And Object Length. you will learn Vue JS Get Array And Object Length. </p>
<p>If you don&#8217;t know how to get array and object length in vue js. i will give simple example for vue js get array and object length. If you have worked on Javascript and Jquery then you know you can get array length by variable. length so same way you can get array length or object length in vue js application.</p>
<p>So let&#8217;s follow few step to create example of Vue JS Get Array And Object Length.</p>
<p><strong>Example:-</strong></p>
<pre class="brush: xml; title: ; notranslate">
&lt;!DOCTYPE html&gt;
&lt;html&gt;
&lt;head&gt;
    &lt;title&gt;Vue JS Get Array Length Or Object Length Example - ItSolutionStuff.com&lt;/title&gt;
    &lt;script src=&quot;https://cdn.jsdelivr.net/npm/vue&quot;&gt;&lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;
   
&lt;div id=&quot;app&quot;&gt;
   
  &lt;ul id=&quot;exampleApp&quot;&gt;
    &lt;li v-if=&quot;myArray.length&quot;&gt;Object Length = {{ myArray.length }}&lt;/li&gt;
    &lt;li v-for=&quot;value in myArray&quot;&gt;
      {{ value.category }}
    &lt;/li&gt;
  &lt;/ul&gt;
  
&lt;/div&gt;
  
&lt;script type=&quot;text/javascript&quot;&gt;
  
    var app = new Vue({
      el: '#app',
      data: {
        myArray: &#x5B;
          { category: 'Laravel' },
          { category: 'PHP' },
          { category: 'Codeigniter' }
        ]
      }
    })
  
&lt;/script&gt;
  
&lt;/body&gt;
&lt;/html&gt;
</pre>
<p><strong>Output:-</strong>
<per>
Object Length = 3<br />
Laravel<br />
PHP<br />
Codeigniter
</per>
<p>The post <a rel="nofollow" href="https://codeplaners.com/vue-js-get-array-and-object-length/">Vue JS Get Array And Object Length</a> appeared first on <a rel="nofollow" href="https://codeplaners.com">Codeplaners</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://codeplaners.com/vue-js-get-array-and-object-length/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Vue JS Multiple Select Dropdown</title>
		<link>https://codeplaners.com/vue-js-multiple-select-dropdown/</link>
					<comments>https://codeplaners.com/vue-js-multiple-select-dropdown/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Tue, 18 May 2021 10:24:53 +0000</pubDate>
				<category><![CDATA[Vue Js]]></category>
		<category><![CDATA[vue js]]></category>
		<guid isPermaLink="false">https://codeplaners.com/?p=730</guid>

					<description><![CDATA[<p>Hello Dev, Today, i we will show you Vue JS Multiple Select Dropdown Example. This article will give you simple example of Vue JS Multiple Select Dropdown Example. you will learn Vue JS Multiple Select Dropdown Example. So let&#8217;s follow few step to create example of Vue JS Multiple Select Dropdown Example. You need to &#8230; <a href="https://codeplaners.com/vue-js-multiple-select-dropdown/" class="more-link">Continue reading<span class="screen-reader-text"> "Vue JS Multiple Select Dropdown"</span></a></p>
<p>The post <a rel="nofollow" href="https://codeplaners.com/vue-js-multiple-select-dropdown/">Vue JS Multiple Select Dropdown</a> appeared first on <a rel="nofollow" href="https://codeplaners.com">Codeplaners</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Hello Dev,</p>
<p>Today, i we will show you Vue JS Multiple Select Dropdown Example. This article will give you simple example of Vue JS Multiple Select Dropdown Example. you will learn Vue JS Multiple Select Dropdown Example. So let&#8217;s follow few step to create example of Vue JS Multiple Select Dropdown Example.</p>
<p>You need to just follow few steps to add Multiple Select Dropdown, so let&#8217;s see.</p>
<h3>Step 1:- Create Vue App</h3>
<pre class="brush: jscript; title: ; notranslate">
vue create myApp
</pre>
<h3>Step 2:- Install vue-multiselect Package</h3>
<pre class="brush: jscript; title: ; notranslate">
npm install vue-multiselect
</pre>
<h3>Step 3:- Updated HelloWorld Component</h3>
<p><strong>src/components/HelloWorld.vue</strong></p>
<pre class="brush: jscript; title: ; notranslate">
&lt;template&gt;
  &lt;div&gt;
    &lt;h1&gt;Vue JS Multiple Select Dropdown&lt;/h1&gt;
    &lt;multiselect
      v-model=&quot;selected&quot;
      :multiple=&quot;true&quot;
      :options=&quot;options&quot;&gt;
    &lt;/multiselect&gt;
  &lt;/div&gt;
&lt;/template&gt;    
&lt;script&gt;
  import Multiselect from 'vue-multiselect'
  export default {
    components: { Multiselect },
    data () {
      return {
        selected: null,
        options: &#x5B;'Laravel', 'Laravel 8', 'Vue JS', 'codeplaners.com']
      }
    }
  }
&lt;/script&gt;
&lt;style src=&quot;vue-multiselect/dist/vue-multiselect.min.css&quot;&gt;
</pre>
<pre class="brush: jscript; title: ; notranslate">
npm run serve
</pre>
<p>You can see officially docs from here: <a style="color:#FF5722;" href="https://vue-multiselect.js.org/#sub-getting-started" target="_blank" rel="noopener noreferrer">vue-multiselect.js.org</a>.</p>
<p>The post <a rel="nofollow" href="https://codeplaners.com/vue-js-multiple-select-dropdown/">Vue JS Multiple Select Dropdown</a> appeared first on <a rel="nofollow" href="https://codeplaners.com">Codeplaners</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://codeplaners.com/vue-js-multiple-select-dropdown/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Vue JS Sweet Alert Example</title>
		<link>https://codeplaners.com/vue-js-sweet-alert-example/</link>
					<comments>https://codeplaners.com/vue-js-sweet-alert-example/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Tue, 18 May 2021 10:09:17 +0000</pubDate>
				<category><![CDATA[Vue Js]]></category>
		<category><![CDATA[vue js]]></category>
		<guid isPermaLink="false">https://codeplaners.com/?p=726</guid>

					<description><![CDATA[<p>Hello Developer, Today, i we will show you Vue JS Sweet Alert Example. This article will give you simple example of Vue JS Sweet Alert Example. you will learn Vue JS Sweet Alert Example. So let&#8217;s follow few step to create example of Vue JS Sweet Alert Example. You need to just follow few steps &#8230; <a href="https://codeplaners.com/vue-js-sweet-alert-example/" class="more-link">Continue reading<span class="screen-reader-text"> "Vue JS Sweet Alert Example"</span></a></p>
<p>The post <a rel="nofollow" href="https://codeplaners.com/vue-js-sweet-alert-example/">Vue JS Sweet Alert Example</a> appeared first on <a rel="nofollow" href="https://codeplaners.com">Codeplaners</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Hello Developer,</p>
<p>Today, i we will show you Vue JS Sweet Alert Example. This article will give you simple example of Vue JS Sweet Alert Example. you will learn Vue JS Sweet Alert Example. So let&#8217;s follow few step to create example of Vue JS Sweet Alert Example.</p>
<p>You need to just follow few steps to add sweetalert, so let&#8217;s see.</p>
<h3>Step 1:- Create Vue App</h3>
<pre class="brush: jscript; title: ; notranslate">
vue create myApp
</pre>
<h3>Step 2:- Install vue-sweetalert2 Package</h3>
<pre class="brush: jscript; title: ; notranslate">
npm install -S vue-sweetalert2
</pre>
<h3>Step 3:- Use vue-sweetalert2</h3>
<p><strong>src/main.js</strong></p>
<pre class="brush: jscript; title: ; notranslate">
import Vue from 'vue'
import App from './App.vue'
import VueSweetalert2 from 'vue-sweetalert2';
Vue.config.productionTip = false
Vue.use(VueSweetalert2);

    
new Vue({
  render: h =&gt; h(App),
}).$mount('#app')
</pre>
<h3>Step 4:- Updated HelloWorld Component</h3>
<p><strong>src/components/HelloWorld.vue</strong></p>
<pre class="brush: jscript; title: ; notranslate">
&lt;template&gt;
  &lt;div class=&quot;container&quot;&gt;
    &lt;div class=&quot;large-12 medium-12 small-12 cell&quot;&gt;
        &lt;h1&gt;Vue JS Sweet Alert Example - codeplaners.com&lt;/h1&gt;
        &lt;button v-on:click=&quot;showAlert&quot;&gt;Hello world&lt;/button&gt;
        &lt;button v-on:click=&quot;showAlertConfirm&quot;&gt;Confirm Me&lt;/button&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/template&gt;

&lt;script&gt;
  export default {
    methods: {
        showAlert(){
            this.$swal('Hello Vue world!!!');
        },
        showAlertConfirm(){
            this.$swal({
              title: 'Are you sure?',
              text: &quot;You won't be able to revert this!&quot;,
              type: 'warning',
              showCancelButton: true,
              confirmButtonColor: '#3085d6',
              cancelButtonColor: '#d33',
              confirmButtonText: 'Yes, delete it!'
            }).then((result) =&gt; {
              if (result.value) {
                this.$swal(
                  'Deleted!',
                  'Your file has been deleted.',
                  'success'
                )
              }
            });
        }
    }
  }

&lt;/script&gt;
</pre>
<pre class="brush: jscript; title: ; notranslate">
npm run serve
</pre>
<p>The post <a rel="nofollow" href="https://codeplaners.com/vue-js-sweet-alert-example/">Vue JS Sweet Alert Example</a> appeared first on <a rel="nofollow" href="https://codeplaners.com">Codeplaners</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://codeplaners.com/vue-js-sweet-alert-example/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Selected Option Text Example In Vue JS</title>
		<link>https://codeplaners.com/selected-option-text-example-in-vue-js/</link>
					<comments>https://codeplaners.com/selected-option-text-example-in-vue-js/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Sat, 08 May 2021 00:10:18 +0000</pubDate>
				<category><![CDATA[Vue Js]]></category>
		<category><![CDATA[codeigniter]]></category>
		<category><![CDATA[Laravel]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[vue js]]></category>
		<guid isPermaLink="false">https://codeplaners.com/?p=634</guid>

					<description><![CDATA[<p>In this article, we will show you selected option text example in vue js. This article will give you simple example of selected option text example in vue js. we can easily selected option text example in vue js. In this example, we will take a simple dropdown with some options like laravel, php, codeigniter, &#8230; <a href="https://codeplaners.com/selected-option-text-example-in-vue-js/" class="more-link">Continue reading<span class="screen-reader-text"> "Selected Option Text Example In Vue JS"</span></a></p>
<p>The post <a rel="nofollow" href="https://codeplaners.com/selected-option-text-example-in-vue-js/">Selected Option Text Example In Vue JS</a> appeared first on <a rel="nofollow" href="https://codeplaners.com">Codeplaners</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>In this article, we will show you selected option text example in vue js. This article will give you simple example of selected option text example in vue js. </p>
<p>we can easily selected option text example in vue js. In this example, we will take a simple dropdown with some options like laravel, php, codeigniter, etc. when you select it. we will selected option text example in vue js.</p>
<h3>Example:-</h3>
<pre class="brush: xml; title: ; notranslate">
&lt;!DOCTYPE html&gt;
&lt;html&gt;
&lt;head&gt;
    &lt;title&gt;Selected Option Text Example In Vue JS  - codeplaners.com&lt;/title&gt;
    &lt;script src=&quot;https://cdn.jsdelivr.net/npm/vue&quot;&gt;&lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;
    
&lt;div id=&quot;app&quot;&gt;
    
  &lt;select name=&quot;category_id&quot; @change=&quot;onChange($event)&quot; class=&quot;form-control&quot;&gt;
     &lt;option&gt;--- Select Category ---&lt;/option&gt;
     &lt;option value=&quot;1&quot;&gt;PHP&lt;/option&gt;
     &lt;option value=&quot;2&quot;&gt;Laravel&lt;/option&gt;
     &lt;option value=&quot;3&quot;&gt;Codeigniter&lt;/option&gt;
     &lt;option value=&quot;4&quot;&gt;Vue JS&lt;/option&gt;
     &lt;option value=&quot;5&quot;&gt;Angular JS&lt;/option&gt;
  &lt;/select&gt;
    
&lt;/div&gt;
    
&lt;script type=&quot;text/javascript&quot;&gt;
    
    var app = new Vue({
      el: '#app',
      methods: {
          onChange(event) {
              var optionValue = event.target.value;
              var optionText = event.target.options&#x5B;event.target.options.selectedIndex].text;
              
              console.log(optionText);
              console.log(optionValue);
          }
      }
    })
    
&lt;/script&gt;
     
&lt;/body&gt;
&lt;/html&gt;
</pre>
<p>The post <a rel="nofollow" href="https://codeplaners.com/selected-option-text-example-in-vue-js/">Selected Option Text Example In Vue JS</a> appeared first on <a rel="nofollow" href="https://codeplaners.com">Codeplaners</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://codeplaners.com/selected-option-text-example-in-vue-js/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
