Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@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 0.0.3 to 0.0.4

33

package.json
{
"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

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