Thursday, November 26, 2015

How to Use Ember jQuery Plugins

With its ubiquity, jQuery still plays a vital role in the web development world. Its regular employment shouldn't be a surprise especially when using a framework like Ember. This framework has components that are similar to jQuery plugins in that they are both designed to have a single responsibility in your project.

In this article, we will develop a simple Ember component. This tutorial will showcase how to integrate a jQuery plugin into an Ember application. The component acts as a wrapper for the plugin, which shows a list of picture thumbnails. Whenever we click a thumbnail, a bigger version of it is displayed in the picture previewer. This works by extracting the src property of the clicked thumbnail. Then, we set the src property of the previewer to that of the thumbnail. The complete code of this article can be found on GitHub.

With this in mind, let's start working on this project.

Continue reading %How to Use Ember jQuery Plugins%


by Lamin Sanneh via SitePoint

No comments:

Post a Comment