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

@polymer/iron-dropdown

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-dropdown - npm Package Compare versions

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

.github/ISSUE_TEMPLATE.md

13

package.json
{
"name": "@polymer/iron-dropdown",
"flat": true,
"version": "1.5.5-pre.3",
"version": "3.0.0-pre.1",
"description": "An unstyled element that works similarly to a native browser select",

@@ -19,12 +19,11 @@ "contributors": [

},
"license": "SEE LICENSE IN http://polymer.github.io/LICENSE.txt",
"license": "http://polymer.github.io/LICENSE.txt",
"homepage": "https://github.com/PolymerElements/iron-dropdown",
"dependencies": {
"@polymer/polymer": "preview",
"@polymer/iron-behaviors": "preview",
"@polymer/iron-overlay-behavior": "preview",
"@polymer/iron-resizable-behavior": "preview",
"@polymer/neon-animation": "preview"
"@polymer/polymer": "^3.0.0-pre.1",
"@polymer/iron-behaviors": "^3.0.0-pre.1",
"@polymer/iron-overlay-behavior": "^3.0.0-pre.1",
"@polymer/neon-animation": "^3.0.0-pre.1"
},
"devDependencies": {}
}

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

<!---
This README is automatically generated from the comments in these files:
iron-dropdown.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-dropdown.svg?branch=master)](https://travis-ci.org/PolymerElements/iron-dropdown)

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

##&lt;iron-dropdown&gt;
## &lt;iron-dropdown&gt;
`<iron-dropdown>` is a generalized element that is useful when you have
hidden content (`.dropdown-content`) that is revealed due to some change in
hidden content (`dropdown-content`) that is revealed due to some change in
state that should cause it to do so.

@@ -34,3 +20,3 @@

The `<iron-dropdown>` element exposes attributes that allow the position
of the `.dropdown-content` relative to the `.dropdown-trigger` to be
of the `dropdown-content` relative to the `dropdown-trigger` to be
configured.

@@ -40,10 +26,12 @@

<iron-dropdown horizontal-align="right" vertical-align="top">
<div class="dropdown-content">Hello!</div>
<div slot="dropdown-content">Hello!</div>
</iron-dropdown>
```
In the above example, the `<div>` with class `.dropdown-content` will be
In the above example, the `<div>` assigned to the `dropdown-content` slot will be
hidden until the dropdown element has `opened` set to true, or when the `open`
method is called on the element.
### Changes in 2.0
- Removed the private property `_focusTarget` which was deprecated.
- `neon-animation 2.0` doesn't import the Web Animations polyfill, so you'll have to import it ([see example](demo/index.html))
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