Options
All
  • Public
  • Public/Protected
  • All
Menu

When an element is invalid due to a validation error, the user needs to be informed. This highlighter is responsible for changing the visual state of an element so that the user notices the invalid element.

Hierarchy

  • Highlighter

Index

Properties

types: Record<string, PrimeFaces.validation.Highlighter>

A map between a widget type and the corresponding highlight handler for that type.

Methods

  • highlightLabel(forElement: string): void
  • When an element is invalid due to a validation error, the user needs to be informed. This method highlights the label for the given element by adding an appropriate CSS class.

    Parameters

    • forElement: string

      ID of an element with a label to highlight.

    Returns void

  • unhighlightLabel(forElement: string): void
  • When an element is invalid due to a validation error, the user needs to be informed. This method removes the highlighting on a label for the given element by removing the appropriate CSS class.

    Parameters

    • forElement: string

      ID of an element with a label to unhighlight.

    Returns void

Generated using TypeDoc