• Execute the given callback if div mode in the given div elements is enabled

    Parameters

    • mode: string

      the div mode to check

    • divs: SingleOrMultiple<DivEvent>

      the div elements to check

    • callback: ((id: string, div: DivEvent) => void)

      the callback to execute

        • (id, div): void
        • Parameters

          Returns void

    Returns void