import { GenericList } from "https://dotland.deno.dev/x/cliffy@v0.19.0/mod.ts";
Generic list prompt representation.
Constructors
new
GenericList(settings: S)Methods
protected
addChar(char: string): voidprotected
deleteChar(): voidprotected
deleteCharRight(): voidprotected
getInfo(): stringprotected
getListIndex(value?: string)protected
abstract
getListItem(item: GenericListOptionSettings, isSelected?: boolean): stringRender option.
protected
getOptionByValue(value: string): GenericListOptionSettings | undefinedFind option by value.
protected
getPageOffset(index: number)protected
match(): voidprotected
message(): stringprotected
moveCursorLeft(): voidprotected
moveCursorRight(): void