Function checkboxClickableDiv

  • Creates a new div element with the given text that triggers the given check box.

    Parameters

    • box: HTMLInputElement

      the checkbox that should be triggered when the div is clicked

    • text: string

      the text of the div

    • i18n: string

      optional internationalization key

    Returns HTMLElement

    the created div element