Created
August 1, 2019 19:31
-
-
Save armorpreston/1bf441b92b6de9b677ae2307ba74f252 to your computer and use it in GitHub Desktop.
Clipboard on Input Field
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="input-group"> | |
<input type="text" class="form-control" id="textToCopy" value="Copy" /> | |
<div class="input-group-btn"> | |
<clipboard [buttonText]="'Copy'" [target]="'#textToCopy'"></clipboard> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment