Socket
Book a DemoInstallSign in
Socket

@aria-ui/collection

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aria-ui/collection

Utilities for building accessible collections for Aria UI

latest
Source
npmnpm
Version
0.0.6
Version published
Weekly downloads
4.7K
-36.92%
Maintainers
1
Weekly downloads
 
Created
Source

@aria-ui/collection

Classes

Collection

Constructors

Constructor

new Collection(items, loop): Collection

Properties

readonly loop: boolean = true

Methods

first(): null | string

Returns the first enabled value.

getElement(value): null | HTMLElement

Finds an element from its value.

getValues(): string[]

Returns all values.

last(): null | string

Returns the last enabled value.

next(value): null | string

Returns the next enabled value.

prev(value): null | string

Returns the previous enabled value.

size(): number

Type Aliases

ItemFilter()

type ItemFilter = (options) => boolean

The filter function to determine if an item should be shown in the collection.

Variables

defaultItemFilter

const defaultItemFilter: ItemFilter

A simple case-insensitive substring match filter.

FAQs

Package last updated on 18 Aug 2025

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