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 inputlabel
- the label of the Buttontooltip_inert_text
- text shown when the button is hovered over, before it's clickedtooltip_copied_text
- text shown when the button is hovered over, after the text is placed on the clipboard