
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
makeup-combobox
Advanced tools
A JavaScript class that represents an ARIA combobox. No CSS provided.
The following markup structure and classnames are required. Any SVG icons can be used.
<span class="combobox">
<span class="combobox__control">
<input
autocomplete="off"
name="combobox-default"
placeholder="Combobox"
role="combobox"
type="text"
aria-haspopup="listbox"
aria-label="Combobox demo"
aria-owns="listbox1"
/>
<svg class="icon icon--dropdown" focusable="false" height="8" width="8" aria-hidden="true">
<use href="../style/icon.svg#icon-dropdown"></use>
</svg>
</span>
<div class="combobox__listbox">
<div id="listbox1" class="combobox__options" role="listbox">
<div class="combobox__option" role="option">
<span>Option 1</span>
</div>
<div class="combobox__option" role="option">
<span>Option 2</span>
</div>
<div class="combobox__option" role="option">
<span>Option 3</span>
</div>
</div>
</div>
</span>
For autocomplete, add aria-autocomplete="list"
to the input element.
No CSS is provided. However, the class is fully compatible with eBay Skin.
import Combobox from "makeup-combobox";
document.querySelectorAll(".combobox").forEach(function (el, i) {
const widget = new Combobox(el, config);
el.addEventListener("makeup-combobox-change", function (e) {
console.log(e.type, e.detail);
});
});
The constructor takes a configuration object as its second parameter.
todo
Fired when a combobox option is chosen either via manual selection or automatic selection.
FAQs
A JavaScript class representing an ARIA combobox
The npm package makeup-combobox receives a total of 30 weekly downloads. As such, makeup-combobox popularity was classified as not popular.
We found that makeup-combobox demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 7 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.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.