Security News
Supply Chain Attack Detected in Solana's web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
ember-basic-dropdown
Advanced tools
This a very minimal dropdown. That means that is very agnostic about what is going to contain.
It is intended to be a building block for more complex components but is perfectly usable.
ember install ember-basic-dropdown
{{#ember-basic-dropdown}}
Content of the trigger
{{else}}
Content of the dropdown once it appears
{{/ember-basic-dropdown}}
By default this component will render the dropdown in the body using ember-wormhole and absolutely position it to place it in the proper coordinates.
You can opt out to this behavior by passing renderInPlace=true
. That will add the dropdown just
below the trigger.
This component is smart about where to position the dropdown. It will detect the best place to render it based on the space around the trigger, and also will take care of reposition if if the screen is resized, scrolled, the device changes it orientation or the content of the dropdown changes (implemented with MutationObservers in modern browsers with fallback to DOM events in IE 9/10).
You can force the component to be fixed in one position by passing dropdownPosition=above|below
.
You don't need to care about adding or removing events, it does that for you.
The trigger of the component is focusable by default, and when focused can be triggered using enter.
FAQs
The basic dropdown that your ember app needs
The npm package ember-basic-dropdown receives a total of 45,711 weekly downloads. As such, ember-basic-dropdown popularity was classified as popular.
We found that ember-basic-dropdown demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.