Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
ember-cli-autocomplete-input
Advanced tools
An autocomplete text input for Ember that manages common actions and handles keyboard interactions
An autocomplete text input for Ember.
ember install ember-cli-autocomplete-input
You can include the component in any of your templates:
{{autocomplete-input name=name results=results updateTerm="updateTerm" selectResult="selectResult"}}
The autocomplete-input
component takes the following arguments
The name variable will be set on the input tag as both the name attribute as well as the id attribute, allowing focus to be triggered by clicking a label tag.
The results array contains the current list of results objects.
The attribute on an object in the results
array that will be used as the display in the results list.
The attribute on an object in the results
array that will be used to check a result to the currently highlighted result in the results list.
The autocomplete-input
component exposes the following actions which respond to user interaction:
This is fired when a result item is clicked or the enter
key is pressed while a result is highlighted.
The selected result is passed as the only argument.
This is fired when the term is updated by typing into the bound input field.
Use this action to update your results
array.
This is fired when the esc
key is pressed.
Use this action handle a clear of the search, ie clear results array and search term.
This project is licensed under the MIT License.
FAQs
An autocomplete text input for Ember that manages common actions and handles keyboard interactions
We found that ember-cli-autocomplete-input demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
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.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.