Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aria-ui/listbox

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aria-ui/listbox

## Listbox

  • 0.0.1
  • npm
  • Socket score

Version published
Weekly downloads
2.1K
decreased by-6.47%
Maintainers
1
Weekly downloads
 
Created
Source

@aria-ui/listbox

Listbox

ListboxElement

A custom Listbox element.

Properties: ListboxProps

new ListboxElement(props?: Partial<ListboxProps>): ListboxElement

ListboxProps

PropertyTypeDescription
filter(options: Object) => booleanThe filter function to determine if an item should be shown in the listbox.

By default, a simple case-insensitive substring match is used.
querystringThe query string to filter the listbox items.

Default
""
selectionMode"multiple" | "single"Listbox selection mode

Default
"single"

useListbox()

function useListbox(
  element: ConnectableElement,
  props?: Partial<ListboxProps>,
): SingalState<Readonly<ListboxProps>>;

ListboxItem

ListboxItemElement

A custom ListboxItem element.

Properties: ListboxItemProps

new ListboxItemElement(props?: Partial<ListboxItemProps>): ListboxItemElement

ListboxItemProps

PropertyType
valuenull | string

useListboxItem()

function useListboxItem(
  element: ConnectableElement,
  props?: Partial<ListboxItemProps>,
): SingalState<Readonly<ListboxItemProps>>;

FAQs

Package last updated on 27 Mar 2024

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc