@polymer/iron-selector
Advanced tools
Comparing version 0.0.3 to 0.0.4
{ | ||
"name": "@polymer/iron-selector", | ||
"version": "0.0.3", | ||
"flat": true, | ||
"version": "0.0.4", | ||
"description": "Manages a set of elements that can be selected", | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com/PolymerElements/iron-selector.git" | ||
}, | ||
"contributors": [ | ||
"The Polymer Authors" | ||
], | ||
"keywords": [ | ||
@@ -14,17 +14,12 @@ "web-components", | ||
], | ||
"contributors": [ | ||
"The Polymer Authors" | ||
], | ||
"license": "BSD-3-Clause", | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com/PolymerElements/iron-selector.git" | ||
}, | ||
"license": "SEE LICENSE IN http://polymer.github.io/LICENSE.txt", | ||
"homepage": "https://github.com/PolymerElements/iron-selector", | ||
"dependencies": { | ||
"@polymer/polymer": "^1.2.5-npm-test.2" | ||
"@polymer/polymer": "gloo" | ||
}, | ||
"devDependencies": { | ||
"@polymer/iron-component-page": "^0.0.3", | ||
"@polymer/iron-test-helpers": "^0.0.3", | ||
"@polymer/paper-styles": "^0.0.3", | ||
"@polymer/test-fixture": "^0.0.3", | ||
"web-component-tester": "^4.0.0", | ||
"webcomponents.js": "^0.7.0" | ||
} | ||
} | ||
"devDependencies": {} | ||
} |
@@ -15,5 +15,5 @@ | ||
[![Build Status](https://travis-ci.org/PolymerElements/iron-selector.svg?branch=master)](https://travis-ci.org/PolymerElements/iron-selector) | ||
[![Build status](https://travis-ci.org/PolymerElements/iron-selector.svg?branch=master)](https://travis-ci.org/PolymerElements/iron-selector) | ||
_[Demo and API Docs](https://elements.polymer-project.org/elements/iron-selector)_ | ||
_[Demo and API docs](https://elements.polymer-project.org/elements/iron-selector)_ | ||
@@ -51,2 +51,19 @@ | ||
You can specify a default fallback with `fallbackSelection` in case the `selected` attribute does | ||
not match the `attrForSelected` attribute of any elements. | ||
Example: | ||
```html | ||
<iron-selector attr-for-selected="name" selected="non-existing" | ||
fallback-selection="default"> | ||
<div name="foo">Foo</div> | ||
<div name="bar">Bar</div> | ||
<div name="default">Default</div> | ||
</iron-selector> | ||
``` | ||
Note: When the selector is multi, the selection will set to `fallbackSelection` iff | ||
the number of matching elements is zero. | ||
`iron-selector` is not styled. Use the `iron-selected` CSS class to style the selected element. | ||
@@ -53,0 +70,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
Found 1 instance in 1 package
Misc. License Issues
License(Experimental) A package's licensing information has fine-grained problems.
Found 1 instance in 1 package
No License Found
License(Experimental) License information could not be found.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
0
1
92
24224
6
1
1
0
1
+ Added@polymer/polymer@1.7.1-npm-test.4(transitive)
- Removed@polymer/polymer@1.2.5-npm-test.2(transitive)
Updated@polymer/polymer@gloo