Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
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
{{#basic-dropdown as |dropdown|}}
Content of the dropdown once it appears
{{else}}
Content of the trigger
{{/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 65,400 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
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.