• Returns a when() handler that will toggle classes on a statElement based on whether the predicate matched.

    Parameters

    • Rest ...classes: string[]

    Returns ((matched: boolean, statElement: default) => void)

      • (matched: boolean, statElement: default): void
      • Parameters

        • matched: boolean
        • statElement: default

        Returns void

Generated using TypeDoc