Releases: ryangjchandler/alpine-clipboard
Releases · ryangjchandler/alpine-clipboard
v2.3.0
What's Changed
- Add note about needed secure context for this to work by @dakira in #28
- feature: add support for custom mime types by @ryangjchandler in #35
New Contributors
Full Changelog: v2.2.0...v2.3.0
v2.2.0
What's Changed
- feature: x-clipboard directive by @ryangjchandler in #25
Full Changelog: v2.1.0...v2.2.0
v2.1.0
v2.0.0
v1.0.0
Added
- Added support for new Clipboard API. (#6)
This release includes 2 new distributions. The default is a modern distribution that takes advantage of the Clipboard API, instead of the old-school create a <textarea>
and execCommand
.
The Clipboard API does not support IE11, so if you need to still support legacy browsers:
- I feel really sorry for you.
- Consult the README.
v0.2.0
v0.1.2
Fixes
- Fixed
AlpinePlugin
name and renamed toAlpineClipboard
to prevent any conflicts.
v0.1.1
Fixes
- Fixing release schedule.
v0.1.0
Initial release
- Includes a
$clipboard
magic property that can be invoked to copy data to the clipboard.
<div x-data="{ input: '' }">
<input x-model="input">
<button type="button" @click="$clipboard(input)">Copy to Clipboard</button>
</div>