![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
makeup-listbox-button
Advanced tools
A JavaScript class that represents an ARIA listbox button. No CSS provided.
The following markup structure and classnames are required. Any SVG icons can be used.
<span class="listbox-button">
<button class="expand-btn" style="min-width: 150px" aria-expanded="false" aria-haspopup="listbox">
<span class="expand-btn__cell">
<span class="expand-btn__text">Option 1</span>
<svg class="icon icon--dropdown" focusable="false" height="8" width="8" aria-hidden="true">
<use xlink:href="../style/icon.svg#icon-dropdown"></use>
</svg>
</span>
</button>
<div class="listbox-button__listbox">
<div class="listbox-button__options" role="listbox" tabindex="0">
<div class="listbox-button__option" role="option">
<span class="listbox-button__value">Option 1</span>
<svg class="icon icon--tick-small" focusable="false" height="8" width="8">
<use xlink:href="../style/icon.svg#icon-tick-small"></use>
</svg>
</div>
<div class="listbox-button__option" role="option">
<span class="listbox-button__value">Option 2</span>
<svg class="icon icon--tick-small" focusable="false" height="8" width="8">
<use xlink:href="../style/icon.svg#icon-tick-small"></use>
</svg>
</div>
<div class="listbox-button__option" role="option">
<span class="listbox-button__value">Option 3</span>
<svg class="icon icon--tick-small" focusable="false" height="8" width="8">
<use xlink:href="../style/icon.svg#icon-tick-small"></use>
</svg>
</div>
</div>
</div>
</span>
Style:
No CSS is provided. However, the class is fully compatible with eBay Skin.
Script:
const ListboxButton = require('makeup-listbox-button');
});
The constructor takes a configuration object as its second parameter.
Set to true if using the class as the model for a custom element (aka Web Component)
Fired when the listbox selection is changed.
fromValue
: the old valuetoValue
: the new valueFAQs
A JavaScript class representing an ARIA listbox button
The npm package makeup-listbox-button receives a total of 49 weekly downloads. As such, makeup-listbox-button popularity was classified as not popular.
We found that makeup-listbox-button demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.