Skip to main content
cngx-src documentation

CngxRankedCommand

Interface

projects/common/command/match.ts

Import#

import { CngxRankedCommand } from '@cngx/common/command'

Description#

A command paired with its match score for a given query. Higher scores rank first. The palette renders these in order; the row slot reads command and the term to highlight.

Index#

Properties

Instance Properties#

Readonly

The matched command.

score#number
Readonly

Relevance score for the query; higher ranks first. 0 for an empty query.