Skip to content
This repository has been archived by the owner on Jun 17, 2021. It is now read-only.

dunnkers/ember-polymer-paper

Repository files navigation

ember-polymer-paper

Greenkeeper badge Build Status

Use Paper Elements in your ambitious Ember Application! This addon exposes Paper Elements as Ember Components, so you can use paper elements like you use any other components. Uses ember-polymer to pull in Polymer.

Installation

ember install ember-polymer-paper

Usage

First, install a paper element:

bower install PolymerElements/paper-input --save

Now we can use this like an ember component! Example:

{{paper-input update=(action (mut name)) label="Your name"}}

That's it, the element should work with a two-way binding!

Example

Demo

https://dunnkers.github.io/ember-polymer-paper/

Demo Example

Requirements

This addon forces Polymer to use Shadow DOM. Browsers that do not natively support Shadow DOM will be supplied with the polyfill. Note that this polyfill might result in slightly slower rendering.

About

This addon was sponsored by Fabriquartz, a startup based in The Netherlands.