dsabp-js
    Preparing search index...

    Enumeration FilterMode

    The mode of a filter config.

    This is a class that extends the Enum class.

    Index

    Enumeration Members

    ALLOW_ALL: FilterMode =
    ALLOW_FILTER_ONLY: FilterMode =
    BLOCK_ALL: FilterMode =
    BLOCK_FILTER_ONLY: FilterMode =

    Constructors

    • Parameters

      • value: number

      Returns FilterMode

    Properties

    enumName: string

    The name of the constant, i.e. the member name.

    enumValue: number

    The value of the constant.

    Methods

    • Returns string

      "Enum.MEMBER"

    • Returns a constant with the specified name, or undefined if not found. (Case-sensitive)

      Shortcut to using getMap.

      Parameters

      • name: string

      Returns FilterMode

    • Returns a constant with the specified value, or undefined if not found.

      Shortcut to using getReverseMap and getMap.

      Parameters

      • value: number

      Returns FilterMode

    • Enum names to constant instances.

      Can be used to get the names and values of all constants in this enum.

      Returns Map<string, FilterMode>

    • Enum values to names.

      Returns Map<number, string>