Buckets:
Quantumbraid/trainingdata / ui /node_modules /@headlessui /react /dist /utils /calculate-active-index.d.ts
| export declare enum Focus { | |
| /** Focus the first non-disabled item. */ | |
| First = 0, | |
| /** Focus the previous non-disabled item. */ | |
| Previous = 1, | |
| /** Focus the next non-disabled item. */ | |
| Next = 2, | |
| /** Focus the last non-disabled item. */ | |
| Last = 3, | |
| /** Focus a specific item based on the `id` of the item. */ | |
| Specific = 4, | |
| /** Focus no items at all. */ | |
| Nothing = 5 | |
| } | |
| export declare function calculateActiveIndex<TItem>(action: { | |
| focus: Focus.Specific; | |
| id: string; | |
| } | { | |
| focus: Exclude<Focus, Focus.Specific>; | |
| }, resolvers: { | |
| resolveItems(): TItem[]; | |
| resolveActiveIndex(): number | null; | |
| resolveId(item: TItem, index: number, items: TItem[]): string; | |
| resolveDisabled(item: TItem, index: number, items: TItem[]): boolean; | |
| }): number | null; | |
Xet Storage Details
- Size:
- 808 Bytes
- Xet hash:
- 8c6c3d85a89f7fe1b0298c1fb9376d0dac7483d2c04b4c08f06b343ff7d9cce1
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.