
<?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>JavaScript Framework Archives - TECHNIG</title>
	<atom:link href="https://www.technig.com/tag/javascript-framework/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.technig.com/tag/javascript-framework/</link>
	<description>Gateway for IT Experts and Tech Geeks</description>
	<lastBuildDate>Wed, 04 Nov 2020 22:52:29 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.6.2</generator>

<image>
	<url>https://www.technig.com/wp-content/uploads/2020/04/32x32.png</url>
	<title>JavaScript Framework Archives - TECHNIG</title>
	<link>https://www.technig.com/tag/javascript-framework/</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">162720667</site>	<item>
		<title>Learn ES6 : Basic Introduction and Configuration</title>
		<link>https://www.technig.com/learn-es6-basics-introduction/</link>
					<comments>https://www.technig.com/learn-es6-basics-introduction/#respond</comments>
		
		<dc:creator><![CDATA[Hujatulla Asghari]]></dc:creator>
		<pubDate>Sun, 26 Nov 2017 09:30:36 +0000</pubDate>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Coding]]></category>
		<category><![CDATA[Ecmascript 6 Tutorial]]></category>
		<category><![CDATA[ES6 Tutorials]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[JavaScript ES6 Tutorial]]></category>
		<category><![CDATA[JavaScript Framework]]></category>
		<category><![CDATA[JavaScript Tutorial]]></category>
		<category><![CDATA[Learn ES6]]></category>
		<category><![CDATA[Learn JavaScript]]></category>
		<category><![CDATA[learn javascript online]]></category>
		<category><![CDATA[learn javascript step by step]]></category>
		<guid isPermaLink="false">https://www.technig.com/?p=13942</guid>

					<description><![CDATA[<div style="margin-bottom:20px;"><img width="840" height="420" src="https://www.technig.com/wp-content/uploads/2017/11/learn-es6-basics-introduction-and-configuration-technig.jpg" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="Learn ES6 Basics Introduction and Configuration - Technig" decoding="async" fetchpriority="high" srcset="https://www.technig.com/wp-content/uploads/2017/11/learn-es6-basics-introduction-and-configuration-technig.jpg 840w, https://www.technig.com/wp-content/uploads/2017/11/learn-es6-basics-introduction-and-configuration-technig-300x150.jpg 300w, https://www.technig.com/wp-content/uploads/2017/11/learn-es6-basics-introduction-and-configuration-technig-768x384.jpg 768w" sizes="(max-width: 840px) 100vw, 840px" /></div>
<p>JavaScript is becoming more and more powerful every day. Nowadays, with JavaScript, you can develop almost any types of application. From desktop to web and even game and mobile apps. Also, you can applications that interact with a database with Nodejs. Besides, with new JavaScript Frameworks like Nuxtjs and Reduxjs you can develop amazing web [&#8230;]</p>
<p>The post <a href="https://www.technig.com/learn-es6-basics-introduction/">Learn ES6 : Basic Introduction and Configuration</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div style="margin-bottom:20px;"><img width="840" height="420" src="https://www.technig.com/wp-content/uploads/2017/11/learn-es6-basics-introduction-and-configuration-technig.jpg" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="Learn ES6 Basics Introduction and Configuration - Technig" decoding="async" srcset="https://www.technig.com/wp-content/uploads/2017/11/learn-es6-basics-introduction-and-configuration-technig.jpg 840w, https://www.technig.com/wp-content/uploads/2017/11/learn-es6-basics-introduction-and-configuration-technig-300x150.jpg 300w, https://www.technig.com/wp-content/uploads/2017/11/learn-es6-basics-introduction-and-configuration-technig-768x384.jpg 768w" sizes="(max-width: 840px) 100vw, 840px" /></div><p>JavaScript is becoming more and more powerful every day. Nowadays, with JavaScript, you can develop almost any types of application. From desktop to web and even game and mobile apps. Also, you can applications that interact with a database with Nodejs. Besides, with new JavaScript Frameworks like Nuxtjs and Reduxjs you can develop amazing web applications. In contrast, you must know to learn ES6 basics.</p>
<h2>What is ES6?</h2>
<p>ES6 or EcmaScript is the future of JavaScript. In a nutshell, JavaScript was taken from ECMAScript. Nowadays, people bring updates to ECMAScript and those featured work in JavaScript as well.  Besides, we used to call the older version ES5 and ES6 is the 2015 version with a lot of brilliant features. So, In this step by step tutorials, we will cover all the features with examples. Also, we will talk about Webpack and package bundlers as well.</p>
<h2>Why should I Learn ES6?</h2>
<p>Well, if you come here to learn ES6, you probably have a good reason right! Most developers use the ES6 code in their project. Also, most software development companies require you to know ES6. Besides, the new features are amazing. It helps you write code in more efficient ways.  You can use Class, Modules, Array Functions and more cool features. It’s the next version of JavaScript, which delivers new language features. So, let&#8217;s learn the ES6 basics and configuration.</p>
<h2>Learn ES6 Basics Introduction and Configuration</h2>
<p>Some modern browsers support ES6 syntax now. Chrome 60+ almost support all ES6 features. But, as of writing this article, most browsers don&#8217;t support ES6 features. Therefore, if you want to write code for production, you must convert your code to old JavaScript. So, now we need a tool like Babeljs. If you don&#8217;t know what it is. It&#8217;s simple a JavaScript compiler. It takes the ES6 code and converts it to old JavaScript code.</p>
<h2>Configure Babeljs</h2>
<p>Let&#8217;s setup Babeljs and use it. Also, you can read the documentation if you want. But I will explain it with step by step ways.</p>
<h2>Steps to Configure Babeljs</h2>
<p>Firstly, you must have NPM installed on your system. If you don&#8217;t have it, just go to nodejs.org download and install it. It will not take more than 2 minutes.</p>
<p>Secondly, create a new folder for your ES6 learning anywhere in your system. Then, open terminal or CMD and run the following command to install Bablejs.</p>
<pre class="lang:default decode:true">npm install --save-dev babel-cli babel-preset-env
</pre>
<p>That will install Bablejs and preset env.</p>
<p>Create a package.json file in your directory and paste the following code.</p>
<pre class="lang:default decode:true">{
    "name": "my-project",
    "version": "1.0.0",
    "scripts": {
        "build": "babel src -d output"
    },
    "devDependencies": {
        "babel-cli": "^6.26.0",
        "babel-preset-env": "^1.6.1",
    }
}
</pre>
<p>Everything should look familiar to you if you have ever used NPM. The script part registers the build command for NPM. It means you can run &#8216;<span style="background-color: #d1d1d1;"><em> npm<span style="background-color: #d1d1d1;"> run b</span>uild</em></span> &#8216; in your current directory and it will run the babel in the <strong>src</strong> folder and compile the files to the <strong>output</strong> directory.</p>
<p>Your project structure should look like this.</p>
<figure id="attachment_13956" aria-describedby="caption-attachment-13956" style="width: 575px" class="wp-caption aligncenter"><a href="https://www.technig.com/wp-content/uploads/2017/11/babel-configuration.png"><img decoding="async" class="wp-image-13956" src="http://3.90.216.52/wp-content/uploads/2017/11/babel-configuration.png" alt="Babel Configuration" width="575" height="312" srcset="https://www.technig.com/wp-content/uploads/2017/11/babel-configuration.png 806w, https://www.technig.com/wp-content/uploads/2017/11/babel-configuration-300x163.png 300w, https://www.technig.com/wp-content/uploads/2017/11/babel-configuration-768x416.png 768w" sizes="(max-width: 575px) 100vw, 575px" /></a><figcaption id="caption-attachment-13956" class="wp-caption-text">Babel Configuration</figcaption></figure>
<p>The final step is to create a<em><span style="background-color: #d1d1d1;"> .babelrc</span> </em>file and write the following code.</p>
<pre class="lang:default decode:true ">{
  "presets": ["env"]
}
</pre>
<p>In older versions of Babel, we used to write the presets value like es2015 or es2016. Now you don&#8217;t need to since you have preset-env and it will work just fine.</p>
<p>Now, create any file in the src directory and write ES6 code. Then, run the &#8216; npm run build &#8216; command in CMD.</p>
<p>I have a file called Persion.js in the <strong>src</strong> directory.</p>
<pre class="theme:sublime-text lang:js decode:true ">class User {
  constructor(name) {
    this.name = name;
  }
}
</pre>
<p>I wrote a simple class usage structure in ES6. When it compiles, it will look like this</p>
<pre class="theme:sublime-text lang:js decode:true ">"use strict";

function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

var User = function User(name) {
  _classCallCheck(this, User);

  this.name = name;
};</pre>
<p>You don&#8217;t need to worry about how long it is and how hard it&#8217;s to read. Just read the ES6 version. Also, that&#8217;s super clean.</p>
<h2>Conclusion</h2>
<p>I think it&#8217;s enough about ES6 basics part. Besides, we are supposed to make clean and short tutorials. So, I hope they learn the ES6 basics part has been informative for you. If you have any questions, feel free to comment below.</p>
<p>The post <a href="https://www.technig.com/learn-es6-basics-introduction/">Learn ES6 : Basic Introduction and Configuration</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.technig.com/learn-es6-basics-introduction/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">13942</post-id>	</item>
		<item>
		<title>Vuejs Computed Properties vs Methods Comparison With Example</title>
		<link>https://www.technig.com/vuejs-computed-properties-vs-methods-comparison/</link>
					<comments>https://www.technig.com/vuejs-computed-properties-vs-methods-comparison/#respond</comments>
		
		<dc:creator><![CDATA[Hujatulla Asghari]]></dc:creator>
		<pubDate>Thu, 23 Nov 2017 14:51:41 +0000</pubDate>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Coding Tips]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[JavaScript Developer]]></category>
		<category><![CDATA[JavaScript Framework]]></category>
		<category><![CDATA[Learn JavaScript]]></category>
		<category><![CDATA[Learn Vuejs]]></category>
		<category><![CDATA[Software Developer]]></category>
		<category><![CDATA[Vuejs]]></category>
		<category><![CDATA[Vuejs Tips]]></category>
		<category><![CDATA[Vuejs Tutorials]]></category>
		<category><![CDATA[Web Designing]]></category>
		<category><![CDATA[Web Developer]]></category>
		<guid isPermaLink="false">https://www.technig.com/?p=13873</guid>

					<description><![CDATA[<div style="margin-bottom:20px;"><img width="840" height="420" src="https://www.technig.com/wp-content/uploads/2017/11/vuejs-computed-properties-vs-methods-comparison-technig.jpg" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="Vuejs Computed Properties VS Methods Comparison - Technig" decoding="async" loading="lazy" srcset="https://www.technig.com/wp-content/uploads/2017/11/vuejs-computed-properties-vs-methods-comparison-technig.jpg 840w, https://www.technig.com/wp-content/uploads/2017/11/vuejs-computed-properties-vs-methods-comparison-technig-300x150.jpg 300w, https://www.technig.com/wp-content/uploads/2017/11/vuejs-computed-properties-vs-methods-comparison-technig-768x384.jpg 768w" sizes="(max-width: 840px) 100vw, 840px" /></div>
<p>Vue js is becoming more and more popular every day. It has a community of great developers. Also, you can develop almost any types of a web application with Vue. Besides, The Vue.js is an open-source progressive JavaScript framework for building user interfaces. Vue can also function as a web application framework capable of powering advanced [&#8230;]</p>
<p>The post <a href="https://www.technig.com/vuejs-computed-properties-vs-methods-comparison/">Vuejs Computed Properties vs Methods Comparison With Example</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div style="margin-bottom:20px;"><img width="840" height="420" src="https://www.technig.com/wp-content/uploads/2017/11/vuejs-computed-properties-vs-methods-comparison-technig.jpg" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="Vuejs Computed Properties VS Methods Comparison - Technig" decoding="async" loading="lazy" srcset="https://www.technig.com/wp-content/uploads/2017/11/vuejs-computed-properties-vs-methods-comparison-technig.jpg 840w, https://www.technig.com/wp-content/uploads/2017/11/vuejs-computed-properties-vs-methods-comparison-technig-300x150.jpg 300w, https://www.technig.com/wp-content/uploads/2017/11/vuejs-computed-properties-vs-methods-comparison-technig-768x384.jpg 768w" sizes="(max-width: 840px) 100vw, 840px" /></div><p><a href="https://www.technig.com/introduction-learn-vuejs-framework/">Vue</a> js is becoming more and more <a href="https://www.technig.com/best-javascript-frameworks/">popular</a> every day. It has a community of great developers. Also, you can develop almost any types of a web application with Vue. Besides, The Vue.js is an open-source progressive JavaScript framework for building user interfaces. Vue can also function as a web application framework capable of powering advanced single-page applications. In this article, you will learn about Vuejs computed properties vs methods. Also, where should you use methods and where should you use computed properties.</p>
<h2>Vuejs Computed Properties VS Methods</h2>
<p>Firstly, I expect you know the basics of Vue and want&#8217;s to learn the differences between computed property and methods. So, we will discuss with clear and real-life examples.</p>
<p>You write the computed properties and methods almost in the same way. Let&#8217;s see an example and then we will explain it more.</p>
<p>[codepen_embed height=&#8221;432&#8243; theme_id=&#8221;0&#8243; slug_hash=&#8221;GOxPbN&#8221; default_tab=&#8221;js,result&#8221; user=&#8221;Hujjat&#8221;]See the Pen &lt;a href=&#8217;https://codepen.io/Hujjat/pen/GOxPbN/&#8217;&gt;GOxPbN&lt;/a&gt; by Hujjat Nazari (&lt;a href=&#8217;https://codepen.io/Hujjat&#8217;&gt;@Hujjat&lt;/a&gt;) on &lt;a href=&#8217;https://codepen.io&#8217;&gt;CodePen&lt;/a&gt;.[/codepen_embed]</p>
<p>In the above example, we have a collection of tasks. Then, we display them based on completed and incompleted tasks.<strong> As you can see</strong>, we have once computed property and one method. They do almost the same thing but opposite to each other.</p>
<p>Return completed tasks:</p>
<pre class="theme:sublime-text lang:js decode:true">  computed: {
    completedTasks() {
      return this.tasks.filter(task =&gt; task.completed);
    }
  }</pre>
<p>Return Incompleted tasks:</p>
<pre class="theme:sublime-text lang:js decode:true">methods: {
    InCompletedTasks() {
      return this.tasks.filter(task =&gt; !task.completed);
    }
  }</pre>
<blockquote><p><strong>Note</strong>: As you can see, we could use computed property or methods for both. Instead, we put them in two ways so that you can understand that,<em> what we can do with methods can be done with computed properties as well.</em></p></blockquote>
<p>So, there are some significant difference and usage you should consider while using them.</p>
<h2>Computed Properties</h2>
<p>In a nutshell, computed properties are called computed value as well. It means, they update and can be changed anytime. Also, it caches the data until it changes. When the Vue is instantiated, computed properties are converted into a property. Therefore, you reference a computed property just like you would a data property.</p>
<p><a href="https://vuejs.org/v2/guide/computed.html">Example</a>:</p>
<pre class="theme:sublime-text lang:js decode:true">var vm = new Vue({
  el: '#example',
  data: {
    message: 'Hello'
  },
  computed: {
    // a computed getter
    reversedMessage: function () {
      // `this` points to the vm instance
      return this.message.split('').reverse().join('')
    }
  }
})</pre>
<p>You can use it like this.</p>
<div id="example">
<pre class="lang:default decode:true">&lt;p&gt;Original message: "{{ message }}" &lt;/p&gt;
&lt;p&gt;Computed reversed message: "{{ reversedMessage }}"&lt;/p&gt;</pre>
</div>
<p>As you can see, the <span style="background-color: #dbdbdb;"><em>reverse message </em></span>is not written like function. It&#8217;s just like a keyword. Additionally, you can&#8217;t pass a value to a computed property despite the fact that it&#8217;s like function.</p>
<h2>Methods</h2>
<p>You probably work with function a lot. Methods are the same as function and work the same way. Besides, a method does nothing unless you call it. Also, like all javascript functions, it accepts parameters and will be re-evaluated every time it&#8217;s called. After that, they can&#8217;t cache values.<em> Additionally, you must use methods when you want to pass a value to modify it. </em></p>
<p>Example:</p>
<p>[codepen_embed height=&#8221;305&#8243; theme_id=&#8221;0&#8243; slug_hash=&#8221;yPjjyg&#8221; default_tab=&#8221;html,result&#8221; user=&#8221;Hujjat&#8221;]See the Pen &lt;a href=&#8217;https://codepen.io/Hujjat/pen/yPjjyg/&#8217;&gt;Vuejs example for tutorial&lt;/a&gt; by Hujjat Nazari (&lt;a href=&#8217;https://codepen.io/Hujjat&#8217;&gt;@Hujjat&lt;/a&gt;) on &lt;a href=&#8217;https://codepen.io&#8217;&gt;CodePen&lt;/a&gt;.[/codepen_embed]</p>
<p>As you can see. We can call it like a function and pass value. Then, you can change it or add something.</p>
<blockquote>
<p style="text-align: left;">In a nutshell, if you want to pass value, methods are good. Otherwise, computed properties are better for cache and speed.</p>
</blockquote>
<h2>Conclusion</h2>
<p>I hope the Vuejs computed properties VS methods compression has been informative for you. If you have any questions or suggestions, feel free to comment below. Besides, you can join our forum and ask questions frequently.</p>
<p>The post <a href="https://www.technig.com/vuejs-computed-properties-vs-methods-comparison/">Vuejs Computed Properties vs Methods Comparison With Example</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.technig.com/vuejs-computed-properties-vs-methods-comparison/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">13873</post-id>	</item>
		<item>
		<title>Top 7 Best WYSIWYG HTML Editor with JavaScript</title>
		<link>https://www.technig.com/7-best-wysiwyg-html-editor/</link>
					<comments>https://www.technig.com/7-best-wysiwyg-html-editor/#respond</comments>
		
		<dc:creator><![CDATA[Hujatulla Asghari]]></dc:creator>
		<pubDate>Fri, 13 Oct 2017 09:30:42 +0000</pubDate>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Coding Tips]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[Design Software]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[JavaScript Framework]]></category>
		<category><![CDATA[Small Business Web Design]]></category>
		<category><![CDATA[Top Best]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Web Designing]]></category>
		<guid isPermaLink="false">https://www.technig.com/?p=12013</guid>

					<description><![CDATA[<div style="margin-bottom:20px;"><img width="840" height="420" src="https://www.technig.com/wp-content/uploads/2017/10/Top-7-Best-WYSIWYG-HTML-Editor-with-JavaScript-Technig.jpg" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="Top 7 Best WYSIWYG HTML Editor with JavaScript - Technig" decoding="async" loading="lazy" srcset="https://www.technig.com/wp-content/uploads/2017/10/Top-7-Best-WYSIWYG-HTML-Editor-with-JavaScript-Technig.jpg 840w, https://www.technig.com/wp-content/uploads/2017/10/Top-7-Best-WYSIWYG-HTML-Editor-with-JavaScript-Technig-300x150.jpg 300w, https://www.technig.com/wp-content/uploads/2017/10/Top-7-Best-WYSIWYG-HTML-Editor-with-JavaScript-Technig-768x384.jpg 768w" sizes="(max-width: 840px) 100vw, 840px" /></div>
<p>WYSIWYG stands for &#8220;What you see is what you get&#8220;. So, you might have seen it before. If you ever wrote an article on WordPress or any other website, then you have used it. It&#8217;s the editor where you can stylize your text instantly with tools. Besides, it makes your life comfortable as a usual [&#8230;]</p>
<p>The post <a href="https://www.technig.com/7-best-wysiwyg-html-editor/">Top 7 Best WYSIWYG HTML Editor with JavaScript</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div style="margin-bottom:20px;"><img width="840" height="420" src="https://www.technig.com/wp-content/uploads/2017/10/Top-7-Best-WYSIWYG-HTML-Editor-with-JavaScript-Technig.jpg" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="Top 7 Best WYSIWYG HTML Editor with JavaScript - Technig" decoding="async" loading="lazy" srcset="https://www.technig.com/wp-content/uploads/2017/10/Top-7-Best-WYSIWYG-HTML-Editor-with-JavaScript-Technig.jpg 840w, https://www.technig.com/wp-content/uploads/2017/10/Top-7-Best-WYSIWYG-HTML-Editor-with-JavaScript-Technig-300x150.jpg 300w, https://www.technig.com/wp-content/uploads/2017/10/Top-7-Best-WYSIWYG-HTML-Editor-with-JavaScript-Technig-768x384.jpg 768w" sizes="(max-width: 840px) 100vw, 840px" /></div><p>WYSIWYG stands for &#8220;<strong>What you see is what you get</strong>&#8220;. So, you might have seen it before. If you ever wrote an article on WordPress or any other website, then you have used it. It&#8217;s the editor where you can stylize your text instantly with tools. Besides, it makes your life comfortable as a usual writer. So, if you are a developer and want to add the WYSIWYG editor for your website, we have the list of top 7 best WYSIWYG HTML Editor with JavaScript.</p>
<h2>Best WYSIWYG HTML Editor</h2>
<p>Below are the lists of top 7 best WYSIWYG HTML editors. Also, they are the most popular ones and free on the web.</p>
<ol>
<li>CKEditor</li>
<li>TinyMCE</li>
<li>Summernote</li>
<li>Froala Editor</li>
<li>Redactor</li>
<li>MediumEditor</li>
<li>Bootstrap-wysihtml5</li>
</ol>
<p>This list is ordered based on rich features, popularity, and ease of use.</p>
<h2>CKEditor</h2>
<figure id="attachment_12035" aria-describedby="caption-attachment-12035" style="width: 952px" class="wp-caption aligncenter"><a href="https://www.technig.com/wp-content/uploads/2017/10/CKEditor-5-Preview.png"><img loading="lazy" decoding="async" class="wp-image-12035 size-full" src="https://www.technig.com/wp-content/uploads/2017/10/CKEditor-5-Preview.png" alt="CKEditor 5 Preview" width="952" height="582" srcset="https://www.technig.com/wp-content/uploads/2017/10/CKEditor-5-Preview.png 952w, https://www.technig.com/wp-content/uploads/2017/10/CKEditor-5-Preview-300x183.png 300w, https://www.technig.com/wp-content/uploads/2017/10/CKEditor-5-Preview-768x470.png 768w" sizes="(max-width: 952px) 100vw, 952px" /></a><figcaption id="caption-attachment-12035" class="wp-caption-text">CKEditor 5 Preview</figcaption></figure>
<p>This one is my favourite. The CKEditor is the fastest and easiest way to integrate a rich text editor into your application. So, it&#8217;s a very interactive and flexible editor. Also, it&#8217;s open-source and free. Moreover, it has three different types: Classic editor, Inline editor, and Balloon editor. You can read more about it on its documentation.</p>
<h2>TinyMCE</h2>
<figure id="attachment_12039" aria-describedby="caption-attachment-12039" style="width: 762px" class="wp-caption aligncenter"><a href="https://www.technig.com/wp-content/uploads/2017/10/TinyMCE-Wysiwyg-Editor.png"><img loading="lazy" decoding="async" class="wp-image-12039 size-full" src="https://www.technig.com/wp-content/uploads/2017/10/TinyMCE-Wysiwyg-Editor.png" alt="TinyMCE Wysiwyg Editor" width="762" height="382" srcset="https://www.technig.com/wp-content/uploads/2017/10/TinyMCE-Wysiwyg-Editor.png 762w, https://www.technig.com/wp-content/uploads/2017/10/TinyMCE-Wysiwyg-Editor-300x150.png 300w" sizes="(max-width: 762px) 100vw, 762px" /></a><figcaption id="caption-attachment-12039" class="wp-caption-text">TinyMCE Wysiwyg Editor</figcaption></figure>
<p>For a decade TinyMCE has been an open-source project. Licensed under LGPL, everyone at TinyMCE remains as committed to its open-source future as the day their team started. So, If open source matters to you too, you can contribute to this WYSIWYG editor. Also, it has very clean and comprehensive documentation. So, you can configure it in almost less than 5 minutes.</p>
<h2>Summernote</h2>
<figure id="attachment_12041" aria-describedby="caption-attachment-12041" style="width: 1024px" class="wp-caption aligncenter"><a href="https://www.technig.com/wp-content/uploads/2017/10/Summernote-Editor.png"><img loading="lazy" decoding="async" class="wp-image-12041 size-large" src="https://www.technig.com/wp-content/uploads/2017/10/Summernote-Editor-1024x437.png" alt="Summernote Wysiwyg Editor" width="1024" height="437" srcset="https://www.technig.com/wp-content/uploads/2017/10/Summernote-Editor-1024x437.png 1024w, https://www.technig.com/wp-content/uploads/2017/10/Summernote-Editor-300x128.png 300w, https://www.technig.com/wp-content/uploads/2017/10/Summernote-Editor-768x328.png 768w, https://www.technig.com/wp-content/uploads/2017/10/Summernote-Editor.png 1072w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption id="caption-attachment-12041" class="wp-caption-text">Summernote Wysiwyg Editor</figcaption></figure>
<p>The Summernote is yet another great best WYSIWYG HTML editor. It&#8217;s super simple WYSIWYG editor on Bootstrap. Also,  Summernote is a JavaScript library. So, it&#8217;s fast, free, open-source and easy to use. Besides, you can contribute to this project if you are a developer. They have a very active team of developer who brings frequent updates.</p>
<h2>Froala Editor</h2>
<figure id="attachment_12042" aria-describedby="caption-attachment-12042" style="width: 1024px" class="wp-caption aligncenter"><a href="https://www.technig.com/wp-content/uploads/2017/10/Froala-Editor-Preview.png"><img loading="lazy" decoding="async" class="wp-image-12042 size-large" src="https://www.technig.com/wp-content/uploads/2017/10/Froala-Editor-Preview-1024x853.png" alt="Froala Editor Preview" width="1024" height="853" srcset="https://www.technig.com/wp-content/uploads/2017/10/Froala-Editor-Preview-1024x853.png 1024w, https://www.technig.com/wp-content/uploads/2017/10/Froala-Editor-Preview-300x250.png 300w, https://www.technig.com/wp-content/uploads/2017/10/Froala-Editor-Preview-768x640.png 768w, https://www.technig.com/wp-content/uploads/2017/10/Froala-Editor-Preview.png 1199w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption id="caption-attachment-12042" class="wp-caption-text">Froala Editor Preview</figcaption></figure>
<p>The Froala Editor is a lightweight WYSIWYG HTML Editor written in JavaScript that enables rich text editing capabilities for your applications. Also, It has complete documentation, specially designed framework plugins and tons of examples make it easy to integrate. Besides, it&#8217;s very nice and creatively design.</p>
<h2>Redactor</h2>
<figure id="attachment_12044" aria-describedby="caption-attachment-12044" style="width: 1024px" class="wp-caption aligncenter"><a href="https://www.technig.com/wp-content/uploads/2017/10/Redactor-Editor.png"><img loading="lazy" decoding="async" class="wp-image-12044 size-large" src="https://www.technig.com/wp-content/uploads/2017/10/Redactor-Editor-1024x395.png" alt="Redactor Editor" width="1024" height="395" srcset="https://www.technig.com/wp-content/uploads/2017/10/Redactor-Editor-1024x395.png 1024w, https://www.technig.com/wp-content/uploads/2017/10/Redactor-Editor-300x116.png 300w, https://www.technig.com/wp-content/uploads/2017/10/Redactor-Editor-768x297.png 768w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption id="caption-attachment-12044" class="wp-caption-text">Redactor Editor</figcaption></figure>
<p>If you are looking for a simple, fewer features and fast WYSIWYG editor, Redactor is your best choice. Also, it has a smooth and clean design with limitless flexibility and extensibility. Besides, it has also a simple and super-efficient API and amazing user experience.</p>
<h2>MediumEditor</h2>
<figure id="attachment_12045" aria-describedby="caption-attachment-12045" style="width: 753px" class="wp-caption aligncenter"><a href="https://www.technig.com/wp-content/uploads/2017/10/MediumEditor-Preview.png"><img loading="lazy" decoding="async" class="wp-image-12045 size-full" src="https://www.technig.com/wp-content/uploads/2017/10/MediumEditor-Preview.png" alt="MediumEditor Preview" width="753" height="352" srcset="https://www.technig.com/wp-content/uploads/2017/10/MediumEditor-Preview.png 753w, https://www.technig.com/wp-content/uploads/2017/10/MediumEditor-Preview-300x140.png 300w, https://www.technig.com/wp-content/uploads/2017/10/MediumEditor-Preview-750x352.png 750w" sizes="(max-width: 753px) 100vw, 753px" /></a><figcaption id="caption-attachment-12045" class="wp-caption-text">MediumEditor Preview</figcaption></figure>
<p>Looking for more simple and small size WYSIWYG editor? MediumEditor is pure JavaScript and 28kB gzipped. By default, it comes with basic features, but you can extend it with plug-ins. So, a very fast, easy-to-use and flexible editor.</p>
<h2>Bootstrap-wysihtml5</h2>
<figure id="attachment_12047" aria-describedby="caption-attachment-12047" style="width: 1024px" class="wp-caption aligncenter"><a href="https://www.technig.com/wp-content/uploads/2017/10/bootstrap-wysihtml5-Wysiwyg-editor-for-Bootstrap.png"><img loading="lazy" decoding="async" class="wp-image-12047 size-large" src="https://www.technig.com/wp-content/uploads/2017/10/bootstrap-wysihtml5-Wysiwyg-editor-for-Bootstrap-1024x417.png" alt="bootstrap-wysihtml5 - Wysiwyg editor for Bootstrap" width="1024" height="417" srcset="https://www.technig.com/wp-content/uploads/2017/10/bootstrap-wysihtml5-Wysiwyg-editor-for-Bootstrap-1024x417.png 1024w, https://www.technig.com/wp-content/uploads/2017/10/bootstrap-wysihtml5-Wysiwyg-editor-for-Bootstrap-300x122.png 300w, https://www.technig.com/wp-content/uploads/2017/10/bootstrap-wysihtml5-Wysiwyg-editor-for-Bootstrap-768x313.png 768w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption id="caption-attachment-12047" class="wp-caption-text">bootstrap-wysihtml5 &#8211; Wysiwyg editor for Bootstrap</figcaption></figure>
<p>Finally, if you are a bootstrap user, this one is made especially for bootstrap. So, it&#8217;s a JavaScript plugin that makes it easy to create simple, beautiful WYSIWYG editors with the help of <a href="https://github.com/xing/wysihtml5">wysihtml5 </a>and <a href="https://twitter.github.com/bootstrap/">Twitter Bootstrap.</a> Besides, it uses bower for client-side dependency management.</p>
<h2>Conclusion</h2>
<p>All in all, there are many other JavaScript and jQuery plug-ins, but most of them are out of data. So, the list above was the top among them. If you know any WYSIWYG Editor better than them, feel free to share with us.</p>
<p>The post <a href="https://www.technig.com/7-best-wysiwyg-html-editor/">Top 7 Best WYSIWYG HTML Editor with JavaScript</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.technig.com/7-best-wysiwyg-html-editor/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">12013</post-id>	</item>
		<item>
		<title>How to Solve vue Command not found on Windows?</title>
		<link>https://www.technig.com/solve-vue-command-not-found-windows/</link>
					<comments>https://www.technig.com/solve-vue-command-not-found-windows/#comments</comments>
		
		<dc:creator><![CDATA[Hujatulla Asghari]]></dc:creator>
		<pubDate>Mon, 02 Oct 2017 05:30:16 +0000</pubDate>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Coding Tips]]></category>
		<category><![CDATA[Free Developer Software]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[How to Fix]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[JavaScript Framework]]></category>
		<category><![CDATA[Vuejs]]></category>
		<category><![CDATA[Vuejs Tutorials]]></category>
		<category><![CDATA[Web Designing]]></category>
		<category><![CDATA[Web Development]]></category>
		<guid isPermaLink="false">https://www.technig.com/?p=11486</guid>

					<description><![CDATA[<div style="margin-bottom:20px;"><img width="840" height="420" src="https://www.technig.com/wp-content/uploads/2017/09/How-to-solve-vue-command-not-found-on-windows.png" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="How to solve vue command not found on windows" decoding="async" loading="lazy" srcset="https://www.technig.com/wp-content/uploads/2017/09/How-to-solve-vue-command-not-found-on-windows.png 840w, https://www.technig.com/wp-content/uploads/2017/09/How-to-solve-vue-command-not-found-on-windows-300x150.png 300w, https://www.technig.com/wp-content/uploads/2017/09/How-to-solve-vue-command-not-found-on-windows-768x384.png 768w" sizes="(max-width: 840px) 100vw, 840px" /></div>
<p>Vuejs is by far the most popular JavaScript framework nowadays. So, if you want to build an appealing and brilliant web application, definitely you should learn Vue. Also, it&#8217;s becoming more popular day by day. The job opportunities are a lot for this framework. Besides, they have a community of great and active people who [&#8230;]</p>
<p>The post <a href="https://www.technig.com/solve-vue-command-not-found-windows/">How to Solve vue Command not found on Windows?</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div style="margin-bottom:20px;"><img width="840" height="420" src="https://www.technig.com/wp-content/uploads/2017/09/How-to-solve-vue-command-not-found-on-windows.png" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="How to solve vue command not found on windows" decoding="async" loading="lazy" srcset="https://www.technig.com/wp-content/uploads/2017/09/How-to-solve-vue-command-not-found-on-windows.png 840w, https://www.technig.com/wp-content/uploads/2017/09/How-to-solve-vue-command-not-found-on-windows-300x150.png 300w, https://www.technig.com/wp-content/uploads/2017/09/How-to-solve-vue-command-not-found-on-windows-768x384.png 768w" sizes="(max-width: 840px) 100vw, 840px" /></div><p>Vuejs is by far the most popular JavaScript framework nowadays. So, if you want to build an appealing and brilliant web application, definitely you should learn Vue. Also, it&#8217;s becoming more popular day by day. The job opportunities are a lot for this framework. Besides, they have a community of great and active people who can help you in anytime. So, Vue-CLI is one of the many features of <a href="https://vuejs.org/">Vue</a>. One of the most common problems that beginners face is how to install and configure it. Furthermore, you will learn how to solve Vue command not found error step by step with an example.</p>
<h2>1. What&#8217;s Vue-CLI?</h2>
<p>In the first place, you must know what&#8217;s Vue-CLI? Shortly, <a href="https://github.com/vuejs/vue-cli">Vue-CLI</a> let you install Vue applications or templates with the command line. For instance, when you install Laravel, you use a command line, so, the same case with Vue.</p>
<h2>2. How to install Vue-CLI</h2>
<p>To install Vue-CLI, you must have Nodejs and Git installed on your system. So, if you don&#8217;t have Nodejs, just go to their website and download the current version.</p>
<p>Install Vue-CLI with the following command</p>
<pre class="lang:default decode:true">npm install -g vue-cli</pre>
<p>It will install Vue-CLI globally, which according to the documentation when you install any NPM package globally, you can access it through the command line.</p>
<p>Open your command line and run the following command.</p>
<pre class="lang:default decode:true ">vue init webpack my-project</pre>
<p>The above command normally installs a demo project form Webpack, but you should get an error.</p>
<figure id="attachment_11489" aria-describedby="caption-attachment-11489" style="width: 674px" class="wp-caption aligncenter"><a href="https://www.technig.com/wp-content/uploads/2017/09/vue-is-not-recognized-as-an-internal-or-external-command.png"><img loading="lazy" decoding="async" class="wp-image-11489 size-full" src="https://www.technig.com/wp-content/uploads/2017/09/vue-is-not-recognized-as-an-internal-or-external-command.png" alt="'vue' is not recognized as an internal or external command" width="674" height="243" srcset="https://www.technig.com/wp-content/uploads/2017/09/vue-is-not-recognized-as-an-internal-or-external-command.png 674w, https://www.technig.com/wp-content/uploads/2017/09/vue-is-not-recognized-as-an-internal-or-external-command-300x108.png 300w" sizes="(max-width: 674px) 100vw, 674px" /></a><figcaption id="caption-attachment-11489" class="wp-caption-text">&#8216;vue&#8217; is not recognized as an internal or external command</figcaption></figure>
<p>Or your error might be list Vue command not found.</p>
<h2>How to Solve Vue command not found</h2>
<p>In order to solve this problem, you should add the Vue path to your environment variable manually. So, here is how you can do that.</p>
<ul>
<li>Press Win + R</li>
<li>Type &#8220;<strong>control sysdm.cpl,,3</strong>&#8221; and press enter</li>
<li>Press N to open environment variables.</li>
<li>Select the path and click Edit.</li>
<li>Click new to add a new path.</li>
<li>Paste the path to NPM folder in your AppData.</li>
<li>Click OK for all windows and you are done.</li>
</ul>
<p>NPM path is normally in the following folder. Just change your username on your system.</p>
<pre class="lang:default decode:true ">C:\Users\UserName\AppData\Roaming\npm</pre>
<p>Your show hidden files option must be on the view this files.</p>
<figure id="attachment_11490" aria-describedby="caption-attachment-11490" style="width: 1024px" class="wp-caption aligncenter"><a href="https://www.technig.com/wp-content/uploads/2017/09/Add-new-windows-env-path.png"><img loading="lazy" decoding="async" class="wp-image-11490 size-large" src="https://www.technig.com/wp-content/uploads/2017/09/Add-new-windows-env-path-1024x668.png" alt="Add new windows env path" width="1024" height="668" srcset="https://www.technig.com/wp-content/uploads/2017/09/Add-new-windows-env-path.png 1024w, https://www.technig.com/wp-content/uploads/2017/09/Add-new-windows-env-path-300x196.png 300w, https://www.technig.com/wp-content/uploads/2017/09/Add-new-windows-env-path-768x501.png 768w, https://www.technig.com/wp-content/uploads/2017/09/Add-new-windows-env-path-210x136.png 210w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption id="caption-attachment-11490" class="wp-caption-text">Add new windows env path</figcaption></figure>
<p>You are done now. So, this time if you open the command line and type the following command, it should install the Webpack demo template in the current directory.</p>
<pre class="lang:default decode:true">vue init webpack my-project</pre>
<p>After installing, you can run the following command to open the project in the browser.</p>
<pre class="lang:default decode:true ">npm run dev</pre>
<p>So, it will run a server in the following URL</p>
<pre class="lang:default decode:true ">http://localhost:8080/#/</pre>
<h2>Conclusion</h2>
<p>All in all, it was that easy. Besides learning what&#8217;s Vue-CLI, you learned how to install it from the command line. So, if you have any questions or problems related to how to solve Vue command not found, feel free to comment it below.</p>
<p>The post <a href="https://www.technig.com/solve-vue-command-not-found-windows/">How to Solve vue Command not found on Windows?</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.technig.com/solve-vue-command-not-found-windows/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">11486</post-id>	</item>
		<item>
		<title>How to Repeat Animation in GreenSock?</title>
		<link>https://www.technig.com/repeat-greensock-animations/</link>
					<comments>https://www.technig.com/repeat-greensock-animations/#respond</comments>
		
		<dc:creator><![CDATA[Hujatulla Asghari]]></dc:creator>
		<pubDate>Thu, 23 Jun 2016 15:30:49 +0000</pubDate>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Animation]]></category>
		<category><![CDATA[Coding Tips]]></category>
		<category><![CDATA[GreenSock]]></category>
		<category><![CDATA[GSAP]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[JavaScript Framework]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.technig.com/?p=7858</guid>

					<description><![CDATA[<div style="margin-bottom:20px;"></div>
<p>Repeating animation in GreenSock is very easy and useful. If you want to repeat any animation for twice or more than once, you can use the repeat GreenSock animations feature. This tutorial will teach you the step by step process on how to use this amazing feature for you next animation project. Though their are [&#8230;]</p>
<p>The post <a href="https://www.technig.com/repeat-greensock-animations/">How to Repeat Animation in GreenSock?</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div style="margin-bottom:20px;"></div><p>Repeating animation in GreenSock is very easy and useful. If you want to repeat any animation for twice or more than once, you can use the repeat GreenSock animations feature. This tutorial will teach you the step by step process on how to use this amazing feature for you next animation project. Though their are different ways of repeating animations in GreenSock, we will show you the most easy and precise ways. We assume you have the basic knowledge of using GreenSock technology, if you don&#8217;t, please take a look at our previous tutorials of on <a href="https://www.technig.com/tag/greensock">GSAP </a>first, than come to this tutorial.</p>
<h2>How to Repeat GreenSock Animations?</h2>
<p>Let&#8217;s start by writing some html markups to work with. At the end we will put all the codes together and make a live demo. So here is the html code.</p>
<pre class="theme:sublime-text lang:default decode:true ">&lt;div id="teching"&gt;
  &lt;div class="letter t"&gt;T&lt;/div&gt;
  &lt;div class="letter e"&gt;E&lt;/div&gt;
  &lt;div class="letter c"&gt;C&lt;/div&gt;
  &lt;div class="letter h"&gt;H&lt;/div&gt;
  &lt;div class="letter n"&gt;N&lt;/div&gt;
  &lt;div class="letter i"&gt;I&lt;/div&gt;
  &lt;div class="letter g"&gt;G&lt;/div&gt;
&lt;/div&gt;</pre>
<p>Let&#8217;s design it a litte so that we can apply animation on it.</p>
<pre class="theme:sublime-text lang:css decode:true ">body{
  background-color: #8c47c2;
  text-align: center;
  padding: 30px;
}
.letter {
  display:inline-block;
  font-family: sans-serif;
  font-weight: bold;
  font-size:120px
}
.t{color:#5BC0EB}
.e{color:#FDE74C}
.c{color:#9BC53D}
.h{color:#E55934}
.n{color:#FA7921}
.i{color:#ffffff}
.g{color:#FF6696}

</pre>
<p>Now, let&#8217;s add a basic animation to this letters.</p>
<pre class="theme:sublime-text lang:js decode:true">var letters = $('.letter').toArray();
var timeLine = new TimelineLite();

timeLine.staggerFrom(letters,2,{
  y:"-100px",
  ease: Elastic.easOut,
},0.15);</pre>
<p>Here is the live demo.</p>
<p>[codepen_embed height=&#8221;265&#8243; theme_id=&#8221;dark&#8221; slug_hash=&#8221;KMzZvo&#8221; default_tab=&#8221;result&#8221; user=&#8221;Hujjat&#8221;]See the Pen GreenSock Practice #7 Timeline animation by Hujjat Nazari (<a href="http://codepen.io/Hujjat">@Hujjat</a>) on <a href="http://codepen.io">CodePen</a>.[/codepen_embed]</p>
<p>As you can see, It&#8217;s showing-up only once. What if we want to repeat the same animation for a number of times? We can do it simply by adding the repeat and repeatDelay properties.</p>
<p>repeat will accept a number that indicate the number of times you want to repeat the animation. The repeatDelay on the other hand will indicate the delay between each animation.</p>
<p>Here is how we do it.  Let&#8217;s imagine you want to repeat this animation for 6 times, you will write the number 5 for repeat property. We will explain why now.</p>
<pre class="theme:sublime-text lang:js decode:true ">var letters = $('.letter').toArray();
var timeLine = new TimelineLite();

timeLine.staggerFrom(letters,2,{
  y:"-100px",
  ease: Elastic.easOut,
  repeat:5,
  repeatDelay:1
},0.15);</pre>
<p>Here is the demo.</p>
<p>[codepen_embed height=&#8221;376&#8243; theme_id=&#8221;dark&#8221; slug_hash=&#8221;MebXwQ&#8221; default_tab=&#8221;result&#8221; user=&#8221;Hujjat&#8221;]See the Pen GreenSock Practice #8 repeating animations by Hujjat Nazari (<a href="http://codepen.io/Hujjat">@Hujjat</a>) on <a href="http://codepen.io">CodePen</a>.[/codepen_embed]</p>
<h3>Explain</h3>
<p>By default, It will animate once, so when you write the number, it will add the default number as well. That&#8217;s why, when we write 5 it will repeat 6 times.</p>
<blockquote><p>If you want to repeat an animation for infinite amounts of time, just give it a negative number like -1.</p></blockquote>
<h2>Second Way to Repeat GreenSock Animations.</h2>
<p>Their is another way that you can repeat GreenSock animations. This way is more useful specially when you have more than one objects and tweens to animate. You will use TimelineMax instead of TimelineLite. It&#8217;s not possible with TimelineLite.</p>
<p>Here is how you do that.</p>
<pre class="theme:sublime-text lang:js decode:true ">var letters = $('.letter').toArray();

var timeLine = new TimelineMax({repeat:4,repeatDelay:1});

timeLine.staggerFrom(letters,2,{
  y:"-100px",
  ease: Elastic.easOut,
},0.15);</pre>
<p>It&#8217;s that easy. When you instantiate the TimelineMax, pass the repeat and repeatDelay properties. It will work the same, but more power. Because it will apply to all animation that use timeLine object.</p>
<h2>Conclusion</h2>
<p>It was all about repeating animation with GreenSock Technology. If you have any question related to GreenSock, feel free to comment it bellow. We hope has been informative for you. 🙂</p>
<p>The post <a href="https://www.technig.com/repeat-greensock-animations/">How to Repeat Animation in GreenSock?</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.technig.com/repeat-greensock-animations/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">7858</post-id>	</item>
		<item>
		<title>GreenSock TimelineLite Animation Step by Step.</title>
		<link>https://www.technig.com/greensock-timelinelite-animation/</link>
					<comments>https://www.technig.com/greensock-timelinelite-animation/#respond</comments>
		
		<dc:creator><![CDATA[Hujatulla Asghari]]></dc:creator>
		<pubDate>Tue, 14 Jun 2016 15:00:07 +0000</pubDate>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Animation]]></category>
		<category><![CDATA[GreenSock]]></category>
		<category><![CDATA[GSAP]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[JavaScript Framework]]></category>
		<guid isPermaLink="false">https://www.technig.com/?p=7772</guid>

					<description><![CDATA[<div style="margin-bottom:20px;"></div>
<p>If you want to automate the step by step animation frame, GreenSock TimelineLite animation is going to do that for you. In this part of the GreenSock tutorial series, we are going to cover the step by step of TimelineLite in GreenSock. If you are new to GreenSock technology, we recommend you to take a [&#8230;]</p>
<p>The post <a href="https://www.technig.com/greensock-timelinelite-animation/">GreenSock TimelineLite Animation Step by Step.</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div style="margin-bottom:20px;"></div><p>If you want to automate the step by step animation frame, GreenSock TimelineLite animation is going to do that for you. In this part of the <a href="https://www.technig.com/tag/greensock/">GreenSock </a>tutorial series, we are going to cover the step by step of TimelineLite in GreenSock. If you are new to GreenSock technology, we recommend you to take a  look at our beginner tutorial on <a href="https://www.technig.com/tag/gsap/">GSAP </a>first, then come to this part.</p>
<figure id="attachment_7777" aria-describedby="caption-attachment-7777" style="width: 800px" class="wp-caption aligncenter"><a href="https://www.technig.com/wp-content/uploads/2016/06/GreenSock-TimelineLite-Animation.gif"><img loading="lazy" decoding="async" class="size-full wp-image-7777" src="https://www.technig.com/wp-content/uploads/2016/06/GreenSock-TimelineLite-Animation.gif" alt="GreenSock TimelineLite Animation" width="800" height="600" /></a><figcaption id="caption-attachment-7777" class="wp-caption-text">GreenSock TimelineLite Animation</figcaption></figure>
<h2>What is GreenSock TimelineLite Animation?</h2>
<p>We have already covered the <a href="http://greensock.com/tweenlite" target="_blank" rel="noopener noreferrer">TweenLite </a>and <a href="https://greensock.com/tweenmax" target="_blank" rel="noopener noreferrer">TweenMax </a>. TimelineLite is similar to those class. GreenSock TimelineLite animation feature will help you managing sequences of TweenLite, TweenMax, TimelineLite, and/or TimelineMax instances. If you have worked with Adobe Flash or any other animation studio, you are familiar with the timeline concept.</p>
<h3>How it works?</h3>
<p>First, we create an instance of TimelineLite class.</p>
<pre class="theme:sublime-text lang:js decode:true">var timeLine = new TimelineLite();</pre>
<p>Second, let&#8217;s select the objects to an array.</p>
<pre class="theme:sublime-text lang:js decode:true">var letters = $('.letter').toArray();</pre>
<p>Now we can apply the to(), from or staggerFrom functions. You already know that staggerFrom function will accept an array argument and it will automate the sequences for animation to happen. Here is how we do that.</p>
<pre class="theme:sublime-text lang:js decode:true">timeLine.staggerFrom(letters,2,{
  y:"-100px",
  ease: Elastic.easOut
},1);</pre>
<p>As you can see, we used the timeline object we have created and applied the staggerFrom function to it. The Last value for staggerFrom function will specify the time interval between each object to animate. You can use floating point number if you want.</p>
<p>Alternatively, you can use to() or from() function. But, you know that if you use those functions, you will need to select every object separately. For example:</p>
<pre class="theme:sublime-text lang:js decode:true ">timeLine.from(letter[0],2,{
  y:"-200px",
  ease: Elastic.easeOut
});

timeLine.from(letter[1],2,{
  y:"-200px",
  ease: Elastic.easeOut
});

timeLine.from(letter[2],2,{
  y:"-200px",
  ease: Elastic.easeOut
});


</pre>
<p>The staggerFrom is a lot easy and flexible to use.</p>
<p>Here is the final demo.</p>
<p>[codepen_embed height=&#8221;265&#8243; theme_id=&#8221;dark&#8221; slug_hash=&#8221;KMzZvo&#8221; default_tab=&#8221;result&#8221; user=&#8221;Hujjat&#8221;]See the Pen &lt;a href=&#8217;http://codepen.io/Hujjat/pen/KMzZvo/&#8217;&gt;GreenSock Practice #7 Timeline animation&lt;/a&gt; by Hujjat Nazari (&lt;a href=&#8217;http://codepen.io/Hujjat&#8217;&gt;@Hujjat&lt;/a&gt;) on &lt;a href=&#8217;http://codepen.io&#8217;&gt;CodePen&lt;/a&gt;.[/codepen_embed]</p>
<h2>Conclusion</h2>
<p>It was how you can use TimelineLite instead of TweenMax or TweenLite. We hope it has been informative for you, if you have any questions related to this topic, feel free to comment bellow. 🙂</p>
<p>The post <a href="https://www.technig.com/greensock-timelinelite-animation/">GreenSock TimelineLite Animation Step by Step.</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.technig.com/greensock-timelinelite-animation/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">7772</post-id>	</item>
		<item>
		<title>How to Animating Multiple Objects with GreenSock?</title>
		<link>https://www.technig.com/greensock-multiple-objects-animation/</link>
					<comments>https://www.technig.com/greensock-multiple-objects-animation/#respond</comments>
		
		<dc:creator><![CDATA[Hujatulla Asghari]]></dc:creator>
		<pubDate>Sun, 12 Jun 2016 16:00:29 +0000</pubDate>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Animation]]></category>
		<category><![CDATA[Coding]]></category>
		<category><![CDATA[Coding Tips]]></category>
		<category><![CDATA[GreenSock]]></category>
		<category><![CDATA[GSAP]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[JavaScript Framework]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.technig.com/?p=7734</guid>

					<description><![CDATA[<div style="margin-bottom:20px;"></div>
<p>Animation mulitple object with GreenSock will help you power up your animation skill with GreenSock. In this part of the GreenSock tutorial series, we are goint to focus on GreenSock multiple objects animation features. We will create an amazing animated text with GreenSock. We assume you have the basic knowledge of using GreenSock technology. If [&#8230;]</p>
<p>The post <a href="https://www.technig.com/greensock-multiple-objects-animation/">How to Animating Multiple Objects with GreenSock?</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div style="margin-bottom:20px;"></div><p>Animation mulitple object with GreenSock will help you power up your animation skill with GreenSock. In this part of the <a href="https://www.technig.com/tag/greensock/" target="_blank" rel="noopener noreferrer">GreenSock</a> tutorial series, we are goint to focus on GreenSock multiple objects animation features. We will create an amazing animated text with GreenSock. We assume you have the basic knowledge of using GreenSock technology. If not, please talk a look at the basic tutorials here at technig and than continue to this article.</p>
<p>Here is the final project we are going to build together from scratch.</p>
<p>[codepen_embed height=&#8221;362&#8243; theme_id=&#8221;dark&#8221; slug_hash=&#8221;WxrMWb&#8221; default_tab=&#8221;result&#8221; user=&#8221;Hujjat&#8221;]See the Pen GreenSock Practice #6 multiple object animation by Hujjat Nazari (<a href="http://codepen.io/Hujjat">@Hujjat</a>) on <a href="http://codepen.io">CodePen</a>.[/codepen_embed]</p>
<h2>GreenSock Multiple Objects Animation</h2>
<p>To animate multiple object, you have two ways. Either use TweenLight class make apply separate Tweens to every object or use TweenMax class and automate the process. We are going to show you both ways. At the end you learn both ways.</p>
<h3>Using TweenLight</h3>
<p>If you use TweenLight, you will write more code. But this more code will give you more flexibility to make more amazing animations. Here, You select every object and apply different animation properties. Here an example.</p>
<p>Imagine if you want to animate a sets of alphabet letters.</p>
<pre class="theme:sublime-text lang:default decode:true ">&lt;div id="teching"&gt;
  &lt;div class="letter t"&gt;T&lt;/div&gt;
  &lt;div class="letter e"&gt;E&lt;/div&gt;
  &lt;div class="letter c"&gt;C&lt;/div&gt;
  &lt;div class="letter h"&gt;H&lt;/div&gt;
  &lt;div class="letter n"&gt;N&lt;/div&gt;
  &lt;div class="letter i"&gt;I&lt;/div&gt;
  &lt;div class="letter g"&gt;G&lt;/div&gt;
&lt;/div&gt;</pre>
<p>Now, if I want to animate each and every letter, I must select and apply animations individually. Here is the example code for above html markup.</p>
<pre class="theme:sublime-text lang:js decode:true ">var t = $('.letter.t');
var e = $('.letter.e');
var c = $('.letter.c');
var h = $('.letter.h');
var n = $('.letter.n');
var i = $('.letter.i');
var g = $('.letter.g');

TweenLite.from(t, 2, {y:"200",opacity:0.1});
TweenLite.from(e, 2, {y:"-200"});
TweenLite.from(c, 2, {y:"200"});
TweenLite.from(h, 2, {y:"-200"});
TweenLite.from(n, 2, {y:"200"});
TweenLite.from(i, 2, {y:"-200"});
TweenLite.from(g, 2, {y:"200"});</pre>
<p>The good thing about this method is here that, you can add different property for each object. If you make a complex animation, you will definitely need to use this method.</p>
<h3>Using TweenMax</h3>
<p>Using TweenMax class help you make the animation easier. With less code, you can write do more thins done. The cons of using this method is that you can&#8217;t apply different property separately for each object. If you want to give the same animation property for all object, this method is going to for you.</p>
<p>We assume you have the above html markup. Here is how we write the JavaScript code.</p>
<pre class="theme:sublime-text lang:js decode:true ">var letters = $('.letter').toArray();

TweenMax.staggerFrom(letters,1,{
  y: '-110',
  ease: Bounce.easeOut
},0.18);</pre>
<p>As we said in introduction tutorial, TweenMax have some more feature and functionality. The staggerFrom function will talk the fourth argument.</p>
<p>This argument will specify the timing in which animation repeat on the next object. It will repeat those two property for every single letter after 0.18 second. Don&#8217;t forget that we have passed an array of object to straggerFrom function.</p>
<p>Here is the final demo.</p>
<p>[codepen_embed height=&#8221;331&#8243; theme_id=&#8221;dark&#8221; slug_hash=&#8221;WxrMWb&#8221; default_tab=&#8221;result&#8221; user=&#8221;Hujjat&#8221;]See the Pen &lt;a href=&#8217;http://codepen.io/Hujjat/pen/WxrMWb/&#8217;&gt;GreenSock Practice #6 multiple object animation&lt;/a&gt; by Hujjat Nazari (&lt;a href=&#8217;http://codepen.io/Hujjat&#8217;&gt;@Hujjat&lt;/a&gt;) on &lt;a href=&#8217;http://codepen.io&#8217;&gt;CodePen&lt;/a&gt;.[/codepen_embed]</p>
<h2>Conclusion</h2>
<p>GreenSock multiple objects animation will help you build powerful yet flexible animations. We hope you have learned something new. If you any question, feel free to comment it bellow. 🙂</p>
<p>The post <a href="https://www.technig.com/greensock-multiple-objects-animation/">How to Animating Multiple Objects with GreenSock?</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.technig.com/greensock-multiple-objects-animation/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">7734</post-id>	</item>
		<item>
		<title>jQuery UI Sortable Drag and Drop</title>
		<link>https://www.technig.com/jquery-ui-sortable-drag-drop/</link>
					<comments>https://www.technig.com/jquery-ui-sortable-drag-drop/#respond</comments>
		
		<dc:creator><![CDATA[Hujatulla Asghari]]></dc:creator>
		<pubDate>Wed, 01 Jun 2016 17:24:03 +0000</pubDate>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Coding Tips]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[JavaScript Framework]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[jQuery UI]]></category>
		<guid isPermaLink="false">https://www.technig.com/?p=7617</guid>

					<description><![CDATA[<div style="margin-bottom:20px;"></div>
<p>jQuery ui has an amazing plugin that will help you make drag and drop web application in a very easy and simple way. We will use jQuery ui sortable plugin to make a simple sortable drag and drop list. jQuery ui really made it easy to make an amazing drag and drop applications. Here is [&#8230;]</p>
<p>The post <a href="https://www.technig.com/jquery-ui-sortable-drag-drop/">jQuery UI Sortable Drag and Drop</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div style="margin-bottom:20px;"></div><p>jQuery ui has an amazing plugin that will help you make drag and drop web application in a very easy and simple way. We will use jQuery ui sortable plugin to make a simple sortable drag and drop list. jQuery ui really made it easy to make an amazing drag and drop applications. Here is what we are going to make from scratch.</p>
<p>[codepen_embed height=&#8221;357&#8243; theme_id=&#8221;dark&#8221; slug_hash=&#8221;RRNbbO&#8221; default_tab=&#8221;result&#8221; user=&#8221;Hujjat&#8221;]See the Pen &lt;a href=&#8217;http://codepen.io/Hujjat/pen/RRNbbO/&#8217;&gt;jQuery ui Sortabl plugin&lt;/a&gt; by Hujjat Nazari (&lt;a href=&#8217;http://codepen.io/Hujjat&#8217;&gt;@Hujjat&lt;/a&gt;) on &lt;a href=&#8217;http://codepen.io&#8217;&gt;CodePen&lt;/a&gt;.[/codepen_embed]</p>
<h1>How to Use jQuery UI Sortable?</h1>
<p>As like every other jQuery ui plugins, using sortable plugin is also the same and easy. All you need is to add jQuery and jQuery ui. You can download them from <a href="http://jquery.com/" target="_blank" rel="noopener noreferrer">jQuery </a>site.</p>
<p>Let&#8217;s add some html and css to start designing our sortable list. here the basic html markup(Of course you can customize it).</p>
<pre class="theme:sublime-text lang:default decode:true ">&lt;ul id="sortable"&gt;  
    &lt;li class="item-1"&gt;Item 1&lt;/li&gt;  
    &lt;li class="item-2"&gt;Item 2&lt;/li&gt;  
    &lt;li class="item-3"&gt;Item 3&lt;/li&gt;  
    &lt;li class="item-4"&gt;Item 4&lt;/li&gt;  
&lt;/ul&gt;</pre>
<p>and Here some CSS for styling.</p>
<pre class="theme:sublime-text lang:css decode:true ">@import url(https://fonts.googleapis.com/css?family=Lato);

body {
  margin: 0px;
  padding: 0px;
  background: #303030;
  font-family: 'Lato', sans-serif;
}

h1 {
  color: #fff;
  text-align: center;
  margin-top: 2em;
}

ul {
  list-style: none;
  margin-top: 2em;
}

ul li {
  color: #fff;
  padding: 20px;
  width: 500px;
  margin: 0px auto;
  cursor: pointer;
}

ul li.item-1 {
  background: #5BC0EB
}

ul li.item-2 {
  background: #9BC53D
}

ul li.item-3 {
  background: #E55934
}

ul li.item-4 {
  background: #FA7921
}
</pre>
<p>Coming to JavaScript part, it&#8217;s pretty simple. If you have not yet link to jQuery and jQuery ui, you can link them through cdn.</p>
<pre class="theme:sublime-text lang:js decode:true">&lt;script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.0.0-rc1/jquery.min.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.11.4/jquery-ui.min.js"&gt;&lt;/script&gt;</pre>
<p>I assume you have a added them at the bottom of your page. Now let&#8217;s write our JavaScript code to preform the action.</p>
<pre class="theme:sublime-text lang:js decode:true "> $(function() {
   $("#sortable").sortable();
 });</pre>
<p>We used jQuery to select the  sortable id and than we applied th sortable function to it. Now, our list will be sortable. We can change the order the way we want.</p>
<h2><strong>Conclusion</strong></h2>
<p>It was how jQuery ui sortable plugin works. You can use it in any project you want in the same way. We hope it has been informative for you. If you have any questions related to this content, feel free to comment it bellow. 🙂</p>
<p>&nbsp;</p>
<p>The post <a href="https://www.technig.com/jquery-ui-sortable-drag-drop/">jQuery UI Sortable Drag and Drop</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.technig.com/jquery-ui-sortable-drag-drop/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">7617</post-id>	</item>
		<item>
		<title>Learn GreenSock Easing Visualization Step by Step</title>
		<link>https://www.technig.com/greensock-easing-tutorial/</link>
					<comments>https://www.technig.com/greensock-easing-tutorial/#comments</comments>
		
		<dc:creator><![CDATA[Hujatulla Asghari]]></dc:creator>
		<pubDate>Fri, 27 May 2016 16:30:02 +0000</pubDate>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Animation]]></category>
		<category><![CDATA[GreenSock]]></category>
		<category><![CDATA[GSAP]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[JavaScript Framework]]></category>
		<guid isPermaLink="false">https://www.technig.com/?p=7528</guid>

					<description><![CDATA[<div style="margin-bottom:20px;"></div>
<p>Easing is one of another powerful functionality of GreenSock animation platform. In this GreenSock easing tutorial you will learn different types of easing and how they work in gsap. We have covered the basic of GreenSock  previously. This will be the continue part of those tutorials. If you have problem in basic of GreenSock, you can [&#8230;]</p>
<p>The post <a href="https://www.technig.com/greensock-easing-tutorial/">Learn GreenSock Easing Visualization Step by Step</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div style="margin-bottom:20px;"></div><p>Easing is one of another powerful functionality of GreenSock animation platform. In this GreenSock easing tutorial you will learn different types of easing and how they work in gsap. We have covered the basic of GreenSock  previously. This will be the continue part of those tutorials. If you have problem in basic of GreenSock, you can refer to those articles.</p>
<h2>GreenSock Easing Tutorial</h2>
<p>Easing functions specify the rate of change of a parameter over time. In GreenSock, we use it to specify how an object is moving from one point to another point. There are a lot of different easing function, in this GreenSock easing tutorial we will discuss a few of them. If you want to know more about different kinds of easing, I recommend take a look at <a href="http://easings.net/" target="_blank" rel="noopener noreferrer">easing</a>s.net site to see all examples. Here is a live examples of easing.</p>
<p>[codepen_embed height=&#8221;482&#8243; theme_id=&#8221;dark&#8221; slug_hash=&#8221;OPewzj&#8221; default_tab=&#8221;result&#8221; user=&#8221;edankwan&#8221;]See the Pen &lt;a href=&#8217;http://codepen.io/edankwan/pen/OPewzj/&#8217;&gt;Robert Penner&#8217;s easing cheatsheet&lt;/a&gt; by Edan Kwan (&lt;a href=&#8217;http://codepen.io/edankwan&#8217;&gt;@edankwan&lt;/a&gt;) on &lt;a href=&#8217;http://codepen.io&#8217;&gt;CodePen&lt;/a&gt;.[/codepen_embed]</p>
<p>I hope the example gives you a clear concept of what easing is. Not let&#8217;s learn how to use in GreenSock</p>
<h2>How to Use Easing in GreenSock?</h2>
<p>So far we have learn how to use GreenSock. Now let&#8217;s create a pen on codepen and continue learning. Using easing is very easy in GreenSock, all you need is to add value for ease property. Here is an example.</p>
<pre class="theme:sublime-text lang:js decode:true ">var item = $('.object');
TweenLite.to(item, 1, {
  x: "400px",
  color:'red',
  ease: Power2.easeInOut,
});</pre>
<p>As you can see, we have wrote the ease property with value of Power2.easeInOut. We have 5 different power in GreenSock. Beside that, we have Back, Elastic, Bounce, Rough, SlowMo, Stepped, Circ, Expo and Sine too. You can use any of them depending on which type of animation you want to make.</p>
<p>If you want to practice live, how all of this easing functions works, you check this <a href="http://greensock.com/ease-visualizer" target="_blank" rel="noopener noreferrer">link</a>.</p>
<figure id="attachment_7545" aria-describedby="caption-attachment-7545" style="width: 863px" class="wp-caption aligncenter"><a href="https://www.technig.com/wp-content/uploads/2016/05/GreenSock-Easing-tutorial-options.jpg"><img loading="lazy" decoding="async" class="size-full wp-image-7545" src="https://www.technig.com/wp-content/uploads/2016/05/GreenSock-Easing-tutorial-options.jpg" alt="GreenSock Easing tutorial options" width="863" height="642" /></a><figcaption id="caption-attachment-7545" class="wp-caption-text">GreenSock Easing tutorial options</figcaption></figure>
<p>So let&#8217;s end of this GreenSock easing tutorial with a live example. We have three space shuttle that have different easing function let&#8217;s see how they more.</p>
<p>[codepen_embed height=&#8221;488&#8243; theme_id=&#8221;dark&#8221; slug_hash=&#8221;WxeVqo&#8221; default_tab=&#8221;result&#8221; user=&#8221;Hujjat&#8221;]See the Pen &lt;a href=&#8217;http://codepen.io/Hujjat/pen/WxeVqo/&#8217;&gt;GreenSock Practice #5 Easing&lt;/a&gt; by Hujjat Nazari (&lt;a href=&#8217;http://codepen.io/Hujjat&#8217;&gt;@Hujjat&lt;/a&gt;) on &lt;a href=&#8217;http://codepen.io&#8217;&gt;CodePen&lt;/a&gt;.[/codepen_embed]</p>
<h2>Conclusion</h2>
<p>We hope this short GreenSock easing tutorial gave you the idea of how to use easing in different projects. If you have any types of question regarding to this topic, feel free to comment it bellow. 🙂</p>
<p>The post <a href="https://www.technig.com/greensock-easing-tutorial/">Learn GreenSock Easing Visualization Step by Step</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.technig.com/greensock-easing-tutorial/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">7528</post-id>	</item>
		<item>
		<title>GSAP Multiple Tweens Step by Step Tutorial</title>
		<link>https://www.technig.com/gsap-animation-multiple-tweens/</link>
					<comments>https://www.technig.com/gsap-animation-multiple-tweens/#respond</comments>
		
		<dc:creator><![CDATA[Hujatulla Asghari]]></dc:creator>
		<pubDate>Wed, 25 May 2016 17:28:59 +0000</pubDate>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Animation]]></category>
		<category><![CDATA[GSAP]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[JavaScript Framework]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.technig.com/?p=7505</guid>

					<description><![CDATA[<div style="margin-bottom:20px;"></div>
<p>Learn GSAP will make you  a powerful web designer and animator. So far we have learned the basic of GSAP animation or GreanSock Animation Tools. GSAP animation multiple tweens tutorial is the continue part of the GSAP animation tutorial series. In this part of the series, you will learn the GSAP animation multiple tweens. If you don&#8217;t know [&#8230;]</p>
<p>The post <a href="https://www.technig.com/gsap-animation-multiple-tweens/">GSAP Multiple Tweens Step by Step Tutorial</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div style="margin-bottom:20px;"></div><p>Learn GSAP will make you  a powerful web designer and animator. So far we have learned the basic of GSAP animation or GreanSock Animation Tools. GSAP animation multiple tweens tutorial is the continue part of the <a href="https://www.google.com/url?sa=t&amp;rct=j&amp;q=&amp;esrc=s&amp;source=web&amp;cd=2&amp;cad=rja&amp;uact=8&amp;ved=0ahUKEwiS2bazlvDMAhXDVh4KHWCFAjUQFggiMAE&amp;url=https%3A%2F%2Fwww.technig.com%2Fintroduction-gsap-animation%2F&amp;usg=AFQjCNFeaKmk4rQucMY_RsM1dlDzc2Tm3w&amp;sig2=eZiyXnbECs5srXkDHAsJcA">GSAP animation tutorial series</a>. In this part of the series, you will learn the GSAP animation multiple tweens. If you don&#8217;t know the basic and configuration of GSAP, we recommend you to take a look at the first and second part of the tutorial. Otherwise you might face some problem during this this GSAP animation intermediate tutorial.</p>
<h2>GSAP Animation Multiple Tweens</h2>
<p>We continue with a fork pen that we have created in previous tutorial. We have added font awesome to use it&#8217;s icon. It look like this.</p>
<p>[codepen_embed height=&#8221;265&#8243; theme_id=&#8221;dark&#8221; slug_hash=&#8221;JXgVGL&#8221; default_tab=&#8221;result&#8221; user=&#8221;Hujjat&#8221;]See the Pen &lt;a href=&#8217;http://codepen.io/Hujjat/pen/JXgVGL/&#8217;&gt;GreenSock Practice #2&lt;/a&gt; by Hujjat Nazari (&lt;a href=&#8217;http://codepen.io/Hujjat&#8217;&gt;@Hujjat&lt;/a&gt;) on &lt;a href=&#8217;http://codepen.io&#8217;&gt;CodePen&lt;/a&gt;.[/codepen_embed]</p>
<p>Just a little changes we have brought. Now let&#8217;s continue learning step by step options.</p>
<h3>Multiple Tweens</h3>
<p>So far we have learn how to apply single animation tween to an object. Now let&#8217;s add another or multiple tween to an object. To do that, there are many ways. One way is to repeat the same TweenLight and just change the property you want to apply. Here is an example. Let&#8217;s apply two property at the same time to the space shuttle.</p>
<p>[codepen_embed height=&#8221;265&#8243; theme_id=&#8221;dark&#8221; slug_hash=&#8221;grVXMK&#8221; default_tab=&#8221;result&#8221; user=&#8221;Hujjat&#8221;]See the Pen &lt;a href=&#8217;http://codepen.io/Hujjat/pen/grVXMK/&#8217;&gt;GreenSock Practice #2&lt;/a&gt; by Hujjat Nazari (&lt;a href=&#8217;http://codepen.io/Hujjat&#8217;&gt;@Hujjat&lt;/a&gt;) on &lt;a href=&#8217;http://codepen.io&#8217;&gt;CodePen&lt;/a&gt;.[/codepen_embed]</p>
<p>We have applied x position and opacity. That&#8217;s when it reach to end of point, it start hiding.</p>
<p>The second way to apply multiple property is easier way. It work&#8217;s like this, you write all the property  as an object for third argument of TweenLight.to function. Here is the example.</p>
<pre class="theme:sublime-text lang:js decode:true ">var item = $('.object');
TweenLite.to(item, 1, {
  x: "200px",
  y:'100px',
  color:'red',
});</pre>
<p>As you can see, we have wrote all three property in third argument. You can add more, as much as you need.</p>
<p>Here is a live example.</p>
<p>[codepen_embed height=&#8221;265&#8243; theme_id=&#8221;dark&#8221; slug_hash=&#8221;RaXOKO&#8221; default_tab=&#8221;result&#8221; user=&#8221;Hujjat&#8221;]See the Pen &lt;a href=&#8217;http://codepen.io/Hujjat/pen/RaXOKO/&#8217;&gt;GreenSock Practice #4&lt;/a&gt; by Hujjat Nazari (&lt;a href=&#8217;http://codepen.io/Hujjat&#8217;&gt;@Hujjat&lt;/a&gt;) on &lt;a href=&#8217;http://codepen.io&#8217;&gt;CodePen&lt;/a&gt;.[/codepen_embed]</p>
<h2>Conclusion</h2>
<p>It was the basic of GSAP animation multiple tweens. I hope it has been informative for you, if you have any question regarding this GSAP animation multiple tweens or GSAP in general, feel free to comment it bellow. 🙂</p>
<p>The post <a href="https://www.technig.com/gsap-animation-multiple-tweens/">GSAP Multiple Tweens Step by Step Tutorial</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.technig.com/gsap-animation-multiple-tweens/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">7505</post-id>	</item>
		<item>
		<title>How to Use FancyBox  jQuery Plugin?</title>
		<link>https://www.technig.com/use-fancybox-jquery-plugin/</link>
					<comments>https://www.technig.com/use-fancybox-jquery-plugin/#respond</comments>
		
		<dc:creator><![CDATA[Hujatulla Asghari]]></dc:creator>
		<pubDate>Thu, 19 May 2016 16:30:00 +0000</pubDate>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[JavaScript Framework]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Web Designing]]></category>
		<guid isPermaLink="false">https://www.technig.com/?p=7480</guid>

					<description><![CDATA[<div style="margin-bottom:20px;"></div>
<p>FancyBox is an amazing jQuery plugin that will let you open any image in the webpage like lightbox modal. When you click on the image, unlike opening on new tab or refreshing the page, it will open it in the same page with a nice modal dialog box. This tutorial will teach you how to [&#8230;]</p>
<p>The post <a href="https://www.technig.com/use-fancybox-jquery-plugin/">How to Use FancyBox  jQuery Plugin?</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div style="margin-bottom:20px;"></div><p>FancyBox is an amazing jQuery plugin that will let you open any image in the webpage like lightbox modal. When you click on the image, unlike opening on new tab or refreshing the page, it will open it in the same page with a nice modal dialog box. This tutorial will teach you how to configure and use fancybox jquery plugin.</p>
<h2>Configurations</h2>
<p>For configuration, all you need is to download this plugin form <a href="http://fancyapps.com/fancybox/#license" target="_blank" rel="noopener noreferrer">fancyapps.com</a>. After you download the plugin, unzip the file, now you will see some files and folders inside. The folder we need is <em>source</em> folder. Copy that folder to your project. There are some helper files inside <em>helpers</em> folder that you might want to use, but they are optional. We are not going to use them.</p>
<h3>Include Fancybox to Your Project</h3>
<p>Inside source folder, you have one CSS file and two files for JavaScript. Simply, both JavaScript files  are the same, just the one which has suffix of pack.js is compress version for production. For testing, feel free to use either of them.</p>
<p>Now let&#8217;s create a html file with a simple template files.</p>
<pre class="theme:sublime-text lang:default decode:true">&lt;!DOCTYPE html&gt;
&lt;html lang="en"&gt;
&lt;head&gt;
	&lt;meta charset="UTF-8"&gt;
	&lt;title&gt;How to use Fancybox jquery plugin&lt;/title&gt;
	&lt;link rel="stylesheet" href="source/jquery.fancybox.css"&gt;
&lt;/head&gt;
&lt;body&gt;
	

	&lt;!-- images goes there --&gt;

	&lt;script src="source/jquery.js"&gt;&lt;/script&gt;
	&lt;script src="source/jquery.fancybox.js"&gt;&lt;/script&gt;
&lt;/body&gt;
&lt;/html&gt;</pre>
<p>To use fancybox jquery plugin, you need to include jquery as well.</p>
<h2>How to Use fancybox jQuery plugin?</h2>
<p>Now you have configured the fancybox. It&#8217;s time to use fancybox jquery pluign and apply it on you images. Every image need to be in <em>&lt;a&gt;</em> tag, and the <em>href</em> attribute must refer to image image path. And one more thing, it must have a class, you can name it anything you wish.</p>
<pre class="theme:sublime-text lang:default decode:true ">	&lt;div class="gallery"&gt;
		&lt;a href="img/1.jpg" class="teching"&gt;
			&lt;img src="img/1.jpg" alt="first"&gt;
		&lt;/a&gt;
		&lt;a href="img/2.jpg" class="teching"&gt;
			&lt;img src="img/2.jpg" alt="first"&gt;
		&lt;/a&gt;
		&lt;a href="img/3.jpg" class="teching"&gt;
			&lt;img src="img/3.jpg" alt="first"&gt;
		&lt;/a&gt;
		&lt;a href="img/4.jpg" class="teching"&gt;
			&lt;img src="img/4.jpg" alt="first"&gt;
		&lt;/a&gt;
	&lt;/div&gt;
</pre>
<p>Apply a little style at top of the page to align them.</p>
<pre class="theme:sublime-text lang:css decode:true ">&lt;style&gt;
	.gallery{
		display: flex;
	}
	img{
		width: 100%;
		display: inline-block;
	}
&lt;/style&gt;</pre>
<p>Finally, at the bottom of the page add one line of jquery to apply the script to the images.</p>
<pre class="theme:sublime-text lang:js decode:true ">&lt;script&gt;
	$(".teching").fancybox();
&lt;/script&gt;</pre>
<p>It was that easy to use fancybox jquery plugin. It will apply to all elements that have the class of technig.</p>
<p>Here is live example.</p>
<p>[codepen_embed height=&#8221;539&#8243; theme_id=&#8221;dark&#8221; slug_hash=&#8221;VaJjvX&#8221; default_tab=&#8221;result&#8221; user=&#8221;Hujjat&#8221;]See the Pen &lt;a href=&#8217;http://codepen.io/Hujjat/pen/VaJjvX/&#8217;&gt;VaJjvX&lt;/a&gt; by Hujjat Nazari (&lt;a href=&#8217;http://codepen.io/Hujjat&#8217;&gt;@Hujjat&lt;/a&gt;) on &lt;a href=&#8217;http://codepen.io&#8217;&gt;CodePen&lt;/a&gt;.[/codepen_embed]</p>
<h2>Conclusion</h2>
<p>It was all about how to use fancybox jquery plugin. If you have any questions or problem, feel free to comment it bellow. 🙂</p>
<p>The post <a href="https://www.technig.com/use-fancybox-jquery-plugin/">How to Use FancyBox  jQuery Plugin?</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.technig.com/use-fancybox-jquery-plugin/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">7480</post-id>	</item>
	</channel>
</rss>
