ui/build/command/command-state.svelte
ui/build/command/command-state.svelte
Classes
CommandState
Defined in: apps/website/.api-docs-entry/ui/build/command/command-state.svelte.d.ts:4
Constructors
Constructor
new CommandState(props): CommandState;Defined in: apps/website/.api-docs-entry/ui/build/command/command-state.svelte.d.ts:31
Parameters
| Parameter | Type |
|---|---|
props |
CommandStateProps |
Returns
Properties
filterValue
filterValue: string;Defined in: apps/website/.api-docs-entry/ui/build/command/command-state.svelte.d.ts:8
indicatorItemValue
indicatorItemValue: string | null;Defined in: apps/website/.api-docs-entry/ui/build/command/command-state.svelte.d.ts:7
inputMode
inputMode: "keyboard" | "mouse";Defined in: apps/website/.api-docs-entry/ui/build/command/command-state.svelte.d.ts:9
isInputFocused
isInputFocused: boolean;Defined in: apps/website/.api-docs-entry/ui/build/command/command-state.svelte.d.ts:10
listRef?
optional listRef?: HTMLElement;Defined in: apps/website/.api-docs-entry/ui/build/command/command-state.svelte.d.ts:6
mouseInsideList
mouseInsideList: boolean;Defined in: apps/website/.api-docs-entry/ui/build/command/command-state.svelte.d.ts:11
resolvedIndicatorValue
resolvedIndicatorValue: string | null;Defined in: apps/website/.api-docs-entry/ui/build/command/command-state.svelte.d.ts:23
visibleItems
visibleItems: object[];Defined in: apps/website/.api-docs-entry/ui/build/command/command-state.svelte.d.ts:12
Index Signature
[x: string]: unknowndescription?
optional description?: string;disabled?
optional disabled?: boolean;groupId?
optional groupId?: string;href?
optional href?: string;keywords?
optional keywords?: readonly string[];label?
optional label?: string;value
value: string;
visibleItemsSignature
visibleItemsSignature: string;Defined in: apps/website/.api-docs-entry/ui/build/command/command-state.svelte.d.ts:22
Accessors
activeValues
Get Signature
get activeValues(): string[];Defined in: apps/website/.api-docs-entry/ui/build/command/command-state.svelte.d.ts:26
Returns
string[]
columns
Get Signature
get columns(): any;Defined in: apps/website/.api-docs-entry/ui/build/command/command-state.svelte.d.ts:29
Returns
any
filterFn
Get Signature
get filterFn(): any;Defined in: apps/website/.api-docs-entry/ui/build/command/command-state.svelte.d.ts:28
Returns
any
items
Get Signature
get items(): CommandItemData[];Defined in: apps/website/.api-docs-entry/ui/build/command/command-state.svelte.d.ts:25
Returns
CommandItemData[]
onChange
Get Signature
get onChange(): ((value) => void) | undefined;Defined in: apps/website/.api-docs-entry/ui/build/command/command-state.svelte.d.ts:30
Returns
((value) => void) | undefined
shouldFilter
Get Signature
get shouldFilter(): boolean;Defined in: apps/website/.api-docs-entry/ui/build/command/command-state.svelte.d.ts:27
Returns
boolean
shouldShowIndicator
Get Signature
get shouldShowIndicator(): boolean;Defined in: apps/website/.api-docs-entry/ui/build/command/command-state.svelte.d.ts:24
Returns
boolean
Methods
navigateDown()
navigateDown(): void;Defined in: apps/website/.api-docs-entry/ui/build/command/command-state.svelte.d.ts:36
Returns
void
navigateFirst()
navigateFirst(): void;Defined in: apps/website/.api-docs-entry/ui/build/command/command-state.svelte.d.ts:40
Returns
void
navigateLast()
navigateLast(): void;Defined in: apps/website/.api-docs-entry/ui/build/command/command-state.svelte.d.ts:41
Returns
void
navigateLeft()
navigateLeft(): void;Defined in: apps/website/.api-docs-entry/ui/build/command/command-state.svelte.d.ts:39
Returns
void
navigateRight()
navigateRight(): void;Defined in: apps/website/.api-docs-entry/ui/build/command/command-state.svelte.d.ts:38
Returns
void
navigateUp()
navigateUp(): void;Defined in: apps/website/.api-docs-entry/ui/build/command/command-state.svelte.d.ts:37
Returns
void
selectCurrent()
selectCurrent(): void;Defined in: apps/website/.api-docs-entry/ui/build/command/command-state.svelte.d.ts:42
Returns
void
setFilter()
setFilter(value): void;Defined in: apps/website/.api-docs-entry/ui/build/command/command-state.svelte.d.ts:35
Parameters
| Parameter | Type |
|---|---|
value |
string |
Returns
void
setIndicator()
setIndicator(value): void;Defined in: apps/website/.api-docs-entry/ui/build/command/command-state.svelte.d.ts:34
Parameters
| Parameter | Type |
|---|---|
value |
string | null |
Returns
void
setInputFocused()
setInputFocused(isFocused): void;Defined in: apps/website/.api-docs-entry/ui/build/command/command-state.svelte.d.ts:33
Parameters
| Parameter | Type |
|---|---|
isFocused |
boolean |
Returns
void
setListRef()
setListRef(element): void;Defined in: apps/website/.api-docs-entry/ui/build/command/command-state.svelte.d.ts:32
Parameters
| Parameter | Type |
|---|---|
element |
HTMLElement |
Returns
void
Variables
getCommandState
const getCommandState: () => () => CommandState;Defined in: apps/website/.api-docs-entry/ui/build/command/command-state.svelte.d.ts:3
Returns
() => CommandState
setCommandState
const setCommandState: (context) => () => CommandState;Defined in: apps/website/.api-docs-entry/ui/build/command/command-state.svelte.d.ts:3
Parameters
| Parameter | Type |
|---|---|
context |
() => CommandState |
Returns
() => CommandState