Hierarchy

Index

Constructors

constructor

Properties

Private _parent

_parent: any

args

args: string

completion

completion: string

fuse

fuse: any = undefined

Protected lastExstr

lastExstr: string

Protected lastFocused

lastFocused: CompletionOption

node

node: any

Protected optionContainer

optionContainer: HTMLElement = html`<table class="optionContainer"></table>`

options

Protected prefixes

prefixes: string[] = []

Protected sortScoredOptions

sortScoredOptions: boolean = false

Accessors

state

Methods

deselect

  • deselect(): void

filter

  • filter(exstr: string): Promise<void>

next

  • next(inc?: number): Promise<any>

onInput

  • onInput(exstr: string): Promise<void>

prev

  • prev(inc?: number): Promise<boolean>

scoredOptions

select

setStateFromScore

  • setStateFromScore(scoredOpts: ScoredOption[], autoselect?: boolean): void

shouldRefresh

  • shouldRefresh(): boolean

splitOnPrefix

  • splitOnPrefix(exstr: string): string[]

updateChain

  • updateChain(): void

updateDisplay

  • updateDisplay(): void

Object literals

fuseOptions

fuseOptions: object

includeScore

includeScore: boolean = true

keys

keys: string[] = ["fuseKeys"]

shouldSort

shouldSort: boolean = true