Command Palette
Modal search and action launcher.
Generado a partir del código fuente público del paquete.
API
CommandPaletteEmptyPropsinterfaz
@solidiom/command-palette — Headless modal command palette primitive. Parts: Root, Input, List, Group, Item, Empty.
Propiedades
class?string
hijos: Element
CommandPaletteGroupPropsinterfaz
@solidiom/command-palette — Headless modal command palette primitive. Parts: Root, Input, List, Group, Item, Empty.
Propiedades
class?stringheading?string— Group heading label.
hijos: Element
CommandPaletteInputPropsinterfaz
@solidiom/command-palette — Headless modal command palette primitive. Parts: Root, Input, List, Group, Item, Empty.
Propiedades
class?stringonFilter?(value: string) => void— Called on each input change to trigger filtering.placeholder?string— Placeholder text.ref?(el: HTMLInputElement) => voidstyle?string | CSSProperties
CommandPaletteItemPropsinterfaz
@solidiom/command-palette — Headless modal command palette primitive. Parts: Root, Input, List, Group, Item, Empty.
Propiedades
class?stringdisabled?boolean— Disabled state.onSelect?() => void— Called when the command is executed (Enter or click).textValue?string— Text value for filtering. Defaults to value.valuestring— Unique value/identifier for this command.
hijos: Element
CommandPaletteListPropsinterfaz
@solidiom/command-palette — Headless modal command palette primitive. Parts: Root, Input, List, Group, Item, Empty.
Propiedades
class?stringref?(el: HTMLDivElement) => voidstyle?string | CSSProperties
hijos: Element
CommandPaletteRootPropsinterfaz
@solidiom/command-palette — Headless modal command palette primitive. Parts: Root, Input, List, Group, Item, Empty.
Propiedades
class?stringdefaultInputValue?stringdefaultOpen?booleaninputValue?Accessor<string>— Controlled input value.onInputValueChange?(value: string) => voidonOpenChange?(open: boolean, details: ChangeDetails<DisclosureReason>) => voidopen?Accessor<boolean>— Controlled open state.style?string | CSSProperties
hijos: Element
Emptycomponente
@solidiom/command-palette — Headless modal command palette primitive. Parts: Root, Input, List, Group, Item, Empty.
Empty(props: CommandPaletteEmptyProps): Element
Propiedades
class?string
hijos: Element
Groupcomponente
@solidiom/command-palette — Headless modal command palette primitive. Parts: Root, Input, List, Group, Item, Empty.
Group(props: CommandPaletteGroupProps): Element
Propiedades
class?stringheading?string— Group heading label.
hijos: Element
Inputcomponente
@solidiom/command-palette — Headless modal command palette primitive. Parts: Root, Input, List, Group, Item, Empty.
Input(props: CommandPaletteInputProps): Element
Propiedades
class?stringonFilter?(value: string) => void— Called on each input change to trigger filtering.placeholder?string— Placeholder text.ref?(el: HTMLInputElement) => voidstyle?string | CSSProperties
Itemcomponente
@solidiom/command-palette — Headless modal command palette primitive. Parts: Root, Input, List, Group, Item, Empty.
Item(props: CommandPaletteItemProps): Element
Propiedades
class?stringdisabled?boolean— Disabled state.onSelect?() => void— Called when the command is executed (Enter or click).textValue?string— Text value for filtering. Defaults to value.valuestring— Unique value/identifier for this command.
hijos: Element
Listcomponente
@solidiom/command-palette — Headless modal command palette primitive. Parts: Root, Input, List, Group, Item, Empty.
List(props: CommandPaletteListProps): Element
Propiedades
class?stringref?(el: HTMLDivElement) => voidstyle?string | CSSProperties
hijos: Element
Rootcomponente
@solidiom/command-palette — Headless modal command palette primitive. Parts: Root, Input, List, Group, Item, Empty.
Root(props: CommandPaletteRootProps): Element
Propiedades
class?stringdefaultInputValue?stringdefaultOpen?booleaninputValue?Accessor<string>— Controlled input value.onInputValueChange?(value: string) => voidonOpenChange?(open: boolean, details: ChangeDetails<DisclosureReason>) => voidopen?Accessor<boolean>— Controlled open state.style?string | CSSProperties
hijos: Element