The compendium browser this filter is used in.
A Collection of FilterChoices for this filter.
A reference to the CompendiumBrowser this filter is used in.
The ID of this filter used to identify it in its browser's filters.
Static
TEMPLATEThe handlebars template used to render this filter.
Static
indexThe field this filter checks against its choices.
Will also be added to the compendiumIndexFields
of the document's CONFIG
object.
Static
labelThe label for this filter visible to the user.
Static
localizeAuto-localize choices.
Defaults to false due to pre-translation.
Static
localizeAuto-localize filter label
Static
localizePrefix to add to choices before localization.
Static
typeA convenience property to define a single type
this filter applies to.
Static
typesThe type
s of document this filter applies to.
Whether this filter has any active choices.
The number of active choices.
Static
handledThe authoritative Set
of type
s this filter applies to.
Provide data necessary to render this filter. The data object generated by BaseFilter#getData contains the minimum data not only required by the filter itself, but also by the rendering CompendiumBrowser.
} The data object for this filter
Returns whether this filter has more than the given number of choices. Defaults to 1, as a single choice allows for no real filtering.
Optional
number: number = 1The number of choices to check for
Generated using TypeDoc
A filter that allows the user to input a minimum and maximum value.