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.
Add this to your package's pubspec.yaml file:
dependencies: core_elements: ^0.7.1+8
You can install packages from the command line:
$ pub get
Alternatively, your editor might support
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
import 'package:core_elements/av_icons.dart'; import 'package:core_elements/communication_icons.dart'; import 'package:core_elements/core_a11y_keys.dart'; import 'package:core_elements/core_ajax_dart.dart'; import 'package:core_elements/core_animated_pages.dart'; import 'package:core_elements/core_animation.dart'; import 'package:core_elements/core_animation_group.dart'; import 'package:core_elements/core_collapse.dart'; import 'package:core_elements/core_drag_drop.dart'; import 'package:core_elements/core_drawer_panel.dart'; import 'package:core_elements/core_dropdown.dart'; import 'package:core_elements/core_dropdown_base.dart'; import 'package:core_elements/core_dropdown_menu.dart'; import 'package:core_elements/core_field.dart'; import 'package:core_elements/core_focusable.dart'; import 'package:core_elements/core_header_panel.dart'; import 'package:core_elements/core_icon.dart'; import 'package:core_elements/core_icon_button.dart'; import 'package:core_elements/core_icons.dart'; import 'package:core_elements/core_iconset.dart'; import 'package:core_elements/core_iconset_svg.dart'; import 'package:core_elements/core_image.dart'; import 'package:core_elements/core_input.dart'; import 'package:core_elements/core_item.dart'; import 'package:core_elements/core_key_helper.dart'; import 'package:core_elements/core_label.dart'; import 'package:core_elements/core_layout_grid.dart'; import 'package:core_elements/core_layout_trbl.dart'; import 'package:core_elements/core_list_dart.dart'; import 'package:core_elements/core_localstorage_dart.dart'; import 'package:core_elements/core_media_query.dart'; import 'package:core_elements/core_menu.dart'; import 'package:core_elements/core_menu_button.dart'; import 'package:core_elements/core_meta.dart'; import 'package:core_elements/core_overlay.dart'; import 'package:core_elements/core_overlay_layer.dart'; import 'package:core_elements/core_pages.dart'; import 'package:core_elements/core_range.dart'; import 'package:core_elements/core_resizable.dart'; import 'package:core_elements/core_resizer.dart'; import 'package:core_elements/core_scaffold.dart'; import 'package:core_elements/core_scroll_header_panel.dart'; import 'package:core_elements/core_scroll_threshold.dart'; import 'package:core_elements/core_selection.dart'; import 'package:core_elements/core_selector.dart'; import 'package:core_elements/core_shared_lib.dart'; import 'package:core_elements/core_signals.dart'; import 'package:core_elements/core_slide.dart'; import 'package:core_elements/core_splitter.dart'; import 'package:core_elements/core_style.dart'; import 'package:core_elements/core_submenu.dart'; import 'package:core_elements/core_toolbar.dart'; import 'package:core_elements/core_tooltip.dart'; import 'package:core_elements/core_transition.dart'; import 'package:core_elements/core_transition_css.dart'; import 'package:core_elements/core_xhr_dart.dart'; import 'package:core_elements/device_icons.dart'; import 'package:core_elements/editor_icons.dart'; import 'package:core_elements/hardware_icons.dart'; import 'package:core_elements/image_icons.dart'; import 'package:core_elements/maps_icons.dart'; import 'package:core_elements/notification_icons.dart'; import 'package:core_elements/roboto.dart'; import 'package:core_elements/social_icons.dart'; import 'package:core_elements/web_animations.dart';
|0.7.1+8||Oct 4, 2016|
|0.7.1+7||Oct 4, 2016|
|0.7.1+6||Jan 20, 2016|
|0.7.1+5||Jan 20, 2016|
|0.7.1+4||Oct 21, 2015|
|0.7.1+3||Aug 26, 2015|
|0.7.1+2||Apr 20, 2015|
|0.7.1+1||Apr 20, 2015|
|0.7.1||Apr 20, 2015|
|0.7.0||Apr 8, 2015|
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
This package is not analyzed, because it is discontinued.
The package version is not analyzed, because it does not support Dart 2. Until this is resolved, the package will receive a health and maintenance score of 0.
dartdoc successfully runs on your package's source files. (-10 points)
Dependencies were not resolved.
|Dart SDK||>=1.8.0 <2.0.0|