Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.4.78/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