Skip to main content

ALToolbox.copy_button

copy_button_html​

Return the html for a button that will let a user copy the given text

To use, include docassemble.ALToolbox:copy_button.yml in your DA interview.

Arguments:

  • text_to_copy - text you want the user to be able to copy.
  • text_before - the prompt that will appear to the left of the HTML input
  • label - the label of the Button
  • tooltip_inert_text - text shown when the button is hovered over, before it's clicked
  • tooltip_copied_text - text shown when the button is hovered over, after the text is placed on the clipboard