JavaScript for Line of Business Applications
596.1K views | +0 today
Follow
JavaScript for Line of Business Applications
Keeping track of current JavaScript Frameworks that help design your clientside Business Logic Layers.
Curated by Jan Hesse
Beam to my Inbox:
Your new post is loading...
Your new post is loading...

Popular Tags - Filter using the Funnel

Current selected tags: 'Tutorial', 'WebComponents'. Clear
Scoop.it!

Custom Elements By Example

Custom Elements By Example | JavaScript for Line of Business Applications | Scoop.it

This seems like the perfect opportunity to use a custom element. If we can encapsulate all that behavior, we'll be able to ensure that the progress bar is always rendered when it appears, and we can hide any ugly transformed DOM elements underneath a shiny semantic element. Sounds great! So let's see how this works.

No comment yet.
Scoop.it!

Using Polymer to Create Web Components

Using Polymer to Create Web Components | JavaScript for Line of Business Applications | Scoop.it

Web Components aim to solve some of these complexities by providing a unified way to create new elements that encompass rich functionality without the need for all the extra libraries. Web components are comprised of four different specifications (Custom Elements, Templates, Shadow DOM and HTML imports) which are being fleshed out in the W3C.

To bridge the gap and give developers access to this rich functionality now, Google has created the Polymer library which serves as a set of polyfills to bring the promise of Web Components to you today. Let's dive a little deeper into.

What this library can do, is allow us to create reusable components that work as true DOM elements while helping to minimize our reliance on JavaScript to do complex DOM manipulation to render rich UI results.

No comment yet.
Scoop.it!

Getting started with web components and polymer.js - II

Getting started with web components and polymer.js - II | JavaScript for Line of Business Applications | Scoop.it

This article describes still rarely supported Shadow DOM features. 

This article will describe things to improve the checkbox component, that got built up in the last article. By improving I mean making the web component more configurable and making it stylable from the “outside”. Additionally it will cover some mistakes that were made in first place, but let us just dive into it. ;)

No comment yet.
Scoop.it!

Creating Reusable Pagination Controls for Ember.js

Creating Reusable Pagination Controls for Ember.js | JavaScript for Line of Business Applications | Scoop.it
A reusable Ember.js component for easily adding pagination controls to your user interface.

To begin, I created a component with two properties: currentPage and totalPages. In order to actually display a list from this, I created a computed property named pageItems that would generate some objects to drive the UI. I also added an action handler to support selecting a new page...

No comment yet.
Scoop.it!

Sharing Polymer Components: Part 2

Sharing Polymer Components: Part 2 | JavaScript for Line of Business Applications | Scoop.it

Learn how to auto-generate documentation and setup GitHub distribution using Bower, in this second part on sharing Polymer components.

In the following tutorial, I'll dig deeper into what untitled-element includes, like its auto-generating documentation feature and how to setup your component to be distributed via Bower. We'll continue using the Reddit component code that I created in my first Polymer tutorial as well.

No comment yet.