File

lists/src/filter/filter_option.ts

Description

This class represents an option to filter a list. Based on the type of the option, different filter operations can be applied to it.

Index

Properties
Methods

Properties

domain
domain: DomainValue[] | null
Type : DomainValue[] | null
index
index: number
Type : number
operations
operations: string[]
Type : string[]
showAllLabel
showAllLabel: string
Type : string
showUnknownLabel
showUnknownLabel: string
Type : string
title
title: string
Type : string
type
type: "boolean" | "date" | "datetime" | "domain" | "integer" | "number" | "currency" | "percentage" | "string"
Type : "boolean" | "date" | "datetime" | "domain" | "integer" | "number" | "currency" | "percentage" | "string"

Methods

equals
equals(other: FilterOption | undefined)

This method tests if the provided FilterOption is equal to this FilterOption by checking the index only, as this is a unique identifier for the FilterOption within a list.

Parameters :
Name Type Optional Description
other FilterOption | undefined No

the {

Returns : boolean

boolean indicating if the provided instance is equal to this instance or not

result-matching ""

    No results matching ""