• Function for assigning a callback to checkbox value changes

    Parameters

    • ctrlName: string
    • callback: ((value: boolean, ctrl: Checkbox) => void)
        • (value: boolean, ctrl: Checkbox): void
        • Parameters

          Returns void

    • onlyOnSelected: boolean = false

      true: only execute the callback if the checkbox gets selected

    • onlyOnDeselected: boolean = false

      true: only execute the callback if the checkbox gets deselected
      If onlyOnSelected and onlyOnDeselected are true or false simultaniously, the callback will be executed for both states.

    Returns void

Generated using TypeDoc