Note: This package is for polymer.dart < 0.17
This package wraps the Polymer project's core elements, providing the following features:
core_elementsas 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
All elements live at the top level of the
Import into HTML:
<link rel="import" href="packages/core_elements/core_input.html">
Or import into Dart:
All examples are located in a separate repo, https://github.com/dart-lang/polymer-core-and-paper-examples.
Cannot read property 'position' of nullerror in
window.event is undefinederror #213
.js.mapfiles in the
custom_element_apigento a dev dependency.
custom_element_apigenand use the
polymer_interoppackage instead of the
polymerpackage for most things.
core-iconshas been rebased on the opensource set from https://github.com/google/material-design-icons.
png-iconsset has been removed.
core-list-dartdoes not yet have the
resizablemixin like it does on the js side, 205.
custom_element_apigenlower bounds. Now takes advantage of
@HtmlImportso manual html imports are no longer required to use the elements, just a dart import will work.
robotofont and all the
core-animated-pagestransitions outside of the src folder. Also added a dart file for each of these which just includes an @HtmlImport.
core-list-dartwith null data 182
core-list-dartwhere clicking a selected item would cause a runtime error 177.
core-ajaxwith setting an indeterminate progress when in a browser that doesn't support progress events. Also the
urlattribute now defaults to null instead of an empty string.
offsetproperty of the
core-animationelement is now called
animationOffsetso that it won't conflict with the
offsetproperty in its base class,
core-list-dartno longer crashes if the window is resized before the list data is initialized.
core-imageis a new element which is a fancy version of the standard
core-labelis a new element which allows you to provide rich content as a label, as opposed to just text like the regular
core-scroll-thresholdis a new element which fires events based on scroll positions for target elements.
core-list-darthas received a major update. It now supports groups of items, grid layouts, and variable height items.
core-dropdown-overlayhas been removed.
core-inputno longer supports the
multilineattribute. It also now extends the
inputelement directly, so it should be created using the
<input is="core-input" />.
core-dropdown-menunow requires that you nest a
core-dropdownor some other overlay and a
core-selectoror other selector element as children.
core-list-dartfor the case where it is initialized with an empty array 137.
core-list-dartfor cases where the original list is cleared out entirely but not replaced by a new list (such as calling
.length = 0).
core-list-dart, coming from 130. Adding and removing items from small lists is fixed.
core-list-dartdivision by zero error when list is empty 124.
core_elements_config.yamlwith the new
deletion_patternsoption. This deletes a lot of cruft code from
core-dropdownhas been renamed to
core-popup-menuhas been renamed to
core-popup-overlayhas been renamed to
core-a11y-keyselement, which helps when dealing with key events.
custom_element_apigento a real dependency as its required in the wrappers.
new CoreInput(). It is still necessary however to include the html import for each element you wish to create this way.
core-ajax-dartelement no longer throws exception in checked mode, and the
content-typeheader will have the proper default.
core-inputelement to 88cbe6f. This removes the need to use js interop for many methods that are forwarded to the underlying input element.
Upgrade polymer dependency to >=0.13.0
Updated all elements to the 0.3.5 js versions.
Fix for https://dartbug.com/20265, core-ajax-dart no longer throws an exception when handling errors.
Fix for https://github.com/dart-lang/core-elements/issues/84, core-ajax-dart no longer fails if no params attribute is supplied.
Fix for https://github.com/dart-lang/core-elements/issues/39, added missing togglePanel method to core-drawer-panel.
Updated all elements to the 0.3.4 js version.
New generated wrappers for core-elements. This completely replaces and is incompatible with earlier version of the package.
This was an attempt to port the core-elements to Dart. This version of the package is deprecated.
Add this to your package's pubspec.yaml file:
You can install packages from the command line:
$ pub get
Alternatively, your editor might support pub. Check the docs for your editor to learn more.
|0.7.1+6||Jan 20, 2016||Go to the documentation of core_elements 0.7.1+6||Download core_elements 0.7.1+6 archive|
|0.7.1+5||Jan 20, 2016||Go to the documentation of core_elements 0.7.1+5||Download core_elements 0.7.1+5 archive|
|0.7.1+4||Oct 21, 2015||Go to the documentation of core_elements 0.7.1+4||Download core_elements 0.7.1+4 archive|
|0.7.1+3||Aug 26, 2015||Go to the documentation of core_elements 0.7.1+3||Download core_elements 0.7.1+3 archive|
|0.7.1+2||Apr 20, 2015||Go to the documentation of core_elements 0.7.1+2||Download core_elements 0.7.1+2 archive|
|0.7.1+1||Apr 20, 2015||Go to the documentation of core_elements 0.7.1+1||Download core_elements 0.7.1+1 archive|
|0.7.1||Apr 20, 2015||Go to the documentation of core_elements 0.7.1||Download core_elements 0.7.1 archive|
|0.7.0||Apr 8, 2015||Go to the documentation of core_elements 0.7.0||Download core_elements 0.7.0 archive|
|0.6.1+2||Mar 19, 2015||Go to the documentation of core_elements 0.6.1+2||Download core_elements 0.6.1+2 archive|
|0.6.1+1||Mar 11, 2015||Go to the documentation of core_elements 0.6.1+1||Download core_elements 0.6.1+1 archive|