Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
systems:yii2:examples [2018/05/31 15:19] smayr |
systems:yii2:examples [2018/10/04 17:05] (current) ajdavis [Copy to Clipboard using Javascript] |
||
---|---|---|---|
Line 1530: | Line 1530: | ||
=== Modal Window === | === Modal Window === | ||
- | * See: [[systems: | + | * See: [[systems: |
Line 1658: | Line 1658: | ||
' | ' | ||
' | ' | ||
- | ' | + | ' |
+ | //' | ||
], | ], | ||
[ | [ | ||
Line 2958: | Line 2959: | ||
$dataProviderPrice-> | $dataProviderPrice-> | ||
</ | </ | ||
+ | |||
+ | == Copy to Clipboard using Javascript == | ||
+ | |||
+ | # Add a reference to the // | ||
+ | # Add javascript to your page that creates an instance of ClipboardJS: | ||
+ | <code php> | ||
+ | # Add a button that follows this logic: | ||
+ | <code html> | ||
+ | <i class=" | ||
+ | </ |