Basic non-visual elements for Polymer.dart
A port of polymer.js' polymer-elements to Polymer.dart. The intent of the authors is to contribute the work to the Dart project itself (https://www.dartlang.org).
Visual elements for Dart can be found in
- The Dart source files of an element often contain some documentation (Dartdoc) how to use the element. You can also find this documentation online at
Almost each element has an associated demo page which shows how to use the element. Open the 'demo' links below to take a look. The source code of these demo pages can be found in the example subdirectory of the package. The actual implementation of the demo page is often outsourced to files in the
- add the following to your pubspec.yaml file:
For more details take a look at the demo pages.
Your feedback is very much appreciated. We are excited to hear about your experience using polymer_elements. We need your feedback to continually improve the qualtiy.
Just Create a New Issue
- Tested with Dart SDK version 1.3.0-dev.7.11
<!-- (A few demo pages (* aren't rendered properly as GitHub Pages or because they use unfinished elements. We are working on it.) -->
<!-- * Status
(ported) means it is ported but not yet usable -->
BSD 3-clause license (see LICENSE file).
Fired whenever a response or an error is received.
polymer-anchor-point can be used to align two nodes. The node to use as the reference position is the anchor node, and the node to be positioned is the target node.
polymer-collapse is used to add collapsible behavior to the target element. It adjusts the height or width of the target element to make the element collapse and expand.
The polymer-selection element is used to manage selection state. It has no visual appearance and is typically used in conjunction with another element. For example, <a href="polymer-selector.html">polymer-selector</a> uses a polymer-selection to manage selection.
polymer-selector is used to manage a list of elements that can be selected. The attribute 'selected' indicates which item element is being selected. The attribute "multi" indicates if multiple items can be selected at once. Tapping on the item element fires 'polymeractivate' event. Use the 'polymer-select' event to listen for selection changes. The
CustomEvent.detailfor 'polymer-select' is a map containing 'item' and 'isSelected'.
polymer-xhr can be used to perform XMLHttpRequests.