Function bindDisabled2Checkbox

  • Binds disabled state of given element to given checkbox, i.e. element gets disabled once checkbox is unchecked and vice versa

    Method

    bindDisabled2Checkbox

    Parameters

    • elem: any
    • checkbox: any

      checkbox that should disable the element

    Returns void