Note: This package is for polymer.dart < 0.17
This package wraps the Polymer project's core elements, providing the following features:
core_elements
as a dependency in your pubspec. You don't need to
install npm or bower.core-list
) or
use native objects that are difficult to use via dart:js (like core-ajax
)
have been ported to Dart.You can find out more about core elements here: http://www.polymer-project.org/docs/elements/core-elements.html
This is an early access version of the core elements. The elements are still changing on both the JavaScript and Dart sides.
All elements live at the top level of the lib/
folder.
Import into HTML:
<link rel="import" href="https://github.com/dart-archive/core-elements/blob/master/packages/core_elements/core_input.html">
Or import into Dart:
import 'package:core_elements/core_input.dart';
All examples are located in a separate repo, https://github.com/dart-lang/polymer-core-and-paper-examples.