A filter that allows the user to input a minimum and maximum value.

Hierarchy

Constructors

Properties

choices: null | Collection<FilterChoice>

A Collection of FilterChoices for this filter.

compendiumBrowser: null | CompendiumBrowser = null

A reference to the CompendiumBrowser this filter is used in.

id: string

The ID of this filter used to identify it in its browser's filters.

TEMPLATE: string = "systems/pf1/templates/apps/compendium-browser/minmax-filter.hbs"

The handlebars template used to render this filter.

indexField: string = ""

The field this filter checks against its choices. Will also be added to the compendiumIndexFields of the document's CONFIG object.

Abstract

label: string = ""

The label for this filter visible to the user.

Abstract

type: string = ""

A convenience property to define a single type this filter applies to.

types: string[] = []

The types of document this filter applies to.

Accessors

Methods

  • Returns whether this filter has more than the given number of choices. Defaults to 1, as a single choice allows for no real filtering.

    Parameters

    • Optional number: number = 1

      The number of choices to check for

    Returns boolean

    • Whether this filter has more than the given number of choices

Generated using TypeDoc