Socket
Socket
Sign inDemoInstall

@polymer/iron-selector

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@polymer/iron-selector - npm Package Compare versions

Comparing version 1.5.2-pre.3 to 3.0.0-pre.1

.github/ISSUE_TEMPLATE.md

6

package.json
{
"name": "@polymer/iron-selector",
"flat": true,
"version": "1.5.2-pre.3",
"version": "3.0.0-pre.1",
"description": "Manages a set of elements that can be selected",

@@ -18,8 +18,8 @@ "contributors": [

},
"license": "SEE LICENSE IN http://polymer.github.io/LICENSE.txt",
"license": "http://polymer.github.io/LICENSE.txt",
"homepage": "https://github.com/PolymerElements/iron-selector",
"dependencies": {
"@polymer/polymer": "preview"
"@polymer/polymer": "^3.0.0-pre.1"
},
"devDependencies": {}
}

@@ -1,15 +0,1 @@

<!---
This README is automatically generated from the comments in these files:
iron-multi-selectable.html iron-selectable.html iron-selector.html
Edit those files, and our readme bot will duplicate them over here!
Edit this file, and the bot will squash your changes :)
The bot does some handling of markdown. Please file a bug if it does the wrong
thing! https://github.com/PolymerLabs/tedium/issues
-->
[![Build status](https://travis-ci.org/PolymerElements/iron-selector.svg?branch=master)](https://travis-ci.org/PolymerElements/iron-selector)

@@ -20,3 +6,3 @@

##&lt;iron-selector&gt;
## &lt;iron-selector&gt;

@@ -88,6 +74,30 @@ `iron-selector` is an element which can be used to manage a list of elements

### Notable breaking changes between 1.x and 2.x (hybrid):
#### IronSelectableBehavior
<!-- No docs for Polymer.IronMultiSelectableBehavior found. -->
- IronSelectableBehavior no longer updates its list of items synchronously
when it is connected to avoid triggering a situation introduced in the
Custom Elements v1 spec that might cause custom element reactions to be
called later than expected.
<!-- No docs for Polymer.IronSelectableBehavior found. -->
If you are using an element with IronSelectableBehavior and ...
1. are reading or writing properties of the element that depend on its
items (`items`, `selectedItems`, etc.)
1. are performing these accesses after the element is created or connected
(attached) either **synchronously** or **after a timeout**
... you should wait for the element to dispatch an `iron-items-changed`
event instead.
- `Polymer.dom.flush()` no longer triggers the observer used by
IronSelectableBehavior to watch for changes to its items. You can call
`forceSynchronousItemUpdate` instead or, preferably, listen for the
`iron-items-changed` event.
#### IronMultiSelectableBehavior
- All breaking changes to IronSelectableBehavior listed above apply to
IronMultiSelectableBehavior.
- `selectedValues` and `selectedItems` now have empty arrays as default
values. This may cause bindings or observers of these properties to
trigger at start up when they previously had not.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc