core/modal_copy_to_clipboard

Description:
  • Contain the logic for the copy to clipboard modal, i.e. the modal contains a readonly input text field, that contains a value. Clicking on the single button "Copy to clipboard" in the footer, puts the content of the input text field into the clipboard and closes the modal.

    Usage: ModalCopyToClipboard.create(string:, string:|null);

Source:
License:
  • http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Contain the logic for the copy to clipboard modal, i.e. the modal contains a readonly input text field, that contains a value. Clicking on the single button "Copy to clipboard" in the footer, puts the content of the input text field into the clipboard and closes the modal.

Usage: ModalCopyToClipboard.create(string:, string:|null);