Are you happy with your logging solution? Would you help us out by taking a 30-second survey? Click here

polymer-dart

Polymer support for Dart

Subscribe to updates I use polymer-dart


Statistics on polymer-dart

Number of watchers on Github 195
Number of open issues 50
Average time to close an issue 11 days
Main language Dart
Average time to merge a PR about 19 hours
Open pull requests 1+
Closed pull requests 10+
Last commit almost 3 years ago
Repo Created almost 5 years ago
Repo Last Updated over 1 year ago
Size 3.98 MB
Homepage https://pub.dartl...
Organization / Authordart-archive
Latest Releasev0.16.0+7
Contributors29
Page Updated
Do you use polymer-dart? Leave a review!
View open issues (50)
View polymer-dart activity
View on github
Fresh, new opensource launches 🚀🚀🚀
Trendy new open source projects in your inbox! View examples

Subscribe to our mailing list

Evaluating polymer-dart for your project? Score Explanation
Commits Score (?)
Issues & PR Score (?)

Polymer.dart

Polymer.dart is a set of comprehensive UI and utility components for building web applications. With Polymer.dart's custom elements, templating, data binding, and other features, you can quickly build structured, encapsulated, client-side web apps.

Polymer.dart is a Dart port of Polymer created and maintained by the Dart team. The Dart team is collaborating with the Polymer team to ensure that polymer.dart elements and polyfills are fully compatible with Polymer.

Polymer.dart replaces Web UI, which has been deprecated.

Learn More

  • The Polymer.dart homepage contains a list of features, project status, installation instructions, tips for upgrading from Web UI, and links to other documentation.

  • See our TodoMVC example on github.

  • For more information about Dart, see http://www.dartlang.org/.

Try It Now

Add the polymer.dart package to your pubspec.yaml file:

dependencies:
  polymer: ^1.0.0

Instead of using any, we recommend using version ranges to avoid getting your project broken on each release. Using a version range lets you upgrade your package at your own pace. You can find the latest version number at https://pub.dartlang.org/packages/polymer.

Note: While in release_candidate stage, we recommend that you pin to a specific version:

dependencies:
  polymer: 1.0.0-rc.1

Building and Deploying

To build a deployable version of your app, add the polymer transformer to your pubspec.yaml file:

transformers:
- polymer:
    entry_points:
    - web/index.html

Then, run pub build.

Testing

Polymer elements can be tested using either the original unittest or new test packages. Just make sure to wait for initPolymer() to complete before running your tests:

@TestOn('browser')
import 'package:polymer/polymer.dart';
import 'package:test/test.dart';

void main() async {
  await initPolymer();
  // Define your tests/groups here.
}

You will also need to define a custom html file for your test (see the README for the test package for more information on this).

Note: If you are using the new test package, it is important that you add the test transformer after the polymer transformer, so it should look roughly like this:

transformer:
- polymer:
    entry_points:
    - test/my_test.html
- test/pub_serve:
    $include: test/**_test{.*,}.dart

Contacting Us

Please file issues in our Issue Tracker or contact us on the Dart Web UI mailing list.

polymer-dart open issues Ask a question     (View All Issues)
  • almost 3 years What is the roadmap of the polymer-dart?
  • almost 3 years Polymer 1.0.0-rc.18 is not compatible with analyzer 0.28.*
  • almost 3 years iPhones updated to ios10 show blank screen on Dart Polymer website
  • almost 3 years Port polymer.js to polymer.dart?
  • almost 3 years Javascript handlers are always in the root zone
  • about 3 years Uncaught TypeError: Cannot read property '__dartClass__' of undefined
  • about 3 years Polymer documentation should state reason and implication of placing <script> elements in <head>
  • about 3 years Document inline_stylesheets
  • about 3 years slow initial render
  • over 3 years Weird exception in Firefox with Dart Polymer 1.0.0-rc.17 application
  • over 3 years The style tag in the wiki page should be moved inside the template tag
  • over 3 years not able to remove nested dom rep element in dart and polymer 1
  • over 3 years paper-menu, select method adds extra value to selectedValues
  • over 3 years CSP in chrome app with polymer.dart
  • over 3 years Sample project not running in ie11 windows 7
  • over 3 years Run chrome/firefox/ie tests on package bots
  • over 3 years Allow usage of polymer elements with angular2
  • almost 4 years Binding not updating
  • almost 4 years Move `JsProxy` to a library that doesn't import `dart:html`
  • almost 4 years Pub Serve won't recover after web_components transformer fails.
  • almost 4 years "Requesting mirror on un-marked class, superclass of 'JsProxy'" in Firefox
  • almost 4 years Problem getting events from paper-input component
  • almost 4 years Use along with JS-Polymer
  • almost 4 years RangeInputElement mouseup-event doesn't always provide the mouse position
  • almost 4 years `add(...)` throws
  • almost 4 years Polymer 1.0 - iron-list - for structured item in list, selectedItem not full valid dart Object
  • almost 4 years Polymer 1 Project works in Dartium but fails in Chrome
  • almost 4 years Add a warning for numeric properties other than `int` and `num`
  • almost 4 years Make it more prominent in the wiki that `set(...)` is necessary to update property values
  • almost 4 years Expose / Document API for creating Polymer elements imperatively
polymer-dart open pull requests (View All Pulls)
  • initial work on es6 proxy
polymer-dart questions on Stackoverflow (View All Questions)
  • Is there a way to use polymer-dart with Ruby on rails?
  • How to get value of css property defined in custom-style element (Polymer Dart 1.0)?
  • How to listen to custom events from outside any custom element in Polymer Dart 1.0?
  • Run Polymer Dart from Cordova using pub serve
  • What are the different ways to access a static attribute in polymer-dart 1.0.rc
  • Polymer Dart Stagehand - how to use webcomponents?
  • How can you detect if Polymer is using Shady or Shadow DOM in Polymer Dart 1.0.0?
  • Polymer Dart Testing with 1.0
  • Polymer Dart as a SPA framework
  • Repeat over contents, polymer dart
  • How to get model for element in iron-list (polymer dart)?
  • paper-drawer-panel in Polymer Dart 1.0 rc. 5 do not render properly..... where am I wrong, please?
  • Polymer-Dart 1.0.0-rc.x multiple instances of custom element causes conflict
  • How do you listen for custom events in Polymer Dart 1.0?
  • How to perform querySelectorAll on local dom in polymer dart 1.0.0.rc2?
  • In Polymer Dart, how to build a CSS table using 1 polymer-element for the table and another for the rows and cells
  • How to get localTarget in listener in polymer dart 1.0?
  • how to retrieve item from an unordered list in polymer dart
  • What is the purpose of @reflectable in Polymer Dart 1.0.0?
  • Polymer dart: Data bind integer value to String attribute
  • Import and make use of Polymer-Dart 1.0.0 release candidate
  • How to configure existing project to use polymer dart 1.0.0-rc.2?
  • Integrating another framework with polymer dart 1.0
  • Polymer-Dart 1.0 inheritance of custom elements
  • Polymer-Dart passing Elements as property
  • Databinding using Polymer-Dart and Dart objects
  • Polymer-Dart 1.0 dom-if not working
  • What is the alternative to maps in polymer Dart 1.0?
  • Polymer, Dart, Chrome App, CSP and debugging
  • Using polymer-dart with html generated server-side by Django
polymer-dart list of languages used
Other projects in Dart