Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/netzo/deps/question/checkbox.ts>TextFilteringOptions

Full-stack Deno framework for building business web apps like internal tools, dashboards, admin panels and automated workflows.
Go to Latest
interface TextFilteringOptions
import { type TextFilteringOptions } from "https://deno.land/x/netzo@0.5.65/deps/question/checkbox.ts";

Properties

sorting: "none" | "rank"

Specify how to sort the filtered list.

  • none specifies that the ordering should not change from what was specified by the option list.
  • rank specifies that the items will be sorted by the specificity of the matched values. Higher match equals higher rank / further up the list.

Default: rank

highlight: boolean

Should the matching parts of the labels be highlighted.

Default: false

showOnlyMatching: boolean

Should the options that does not match still be in the list.

Default: true

matchCase: boolean

When searching should the search string contents also match on letter casing.

Default: false