Skip to content

Releases: ryangjchandler/alpine-clipboard

v2.3.0

05 Oct 14:54
Compare
Choose a tag to compare

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

07 May 20:16
17b80d8
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.1.0...v2.2.0

v2.1.0

16 Nov 14:45
ac8b146
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.0.0...v2.1.0

v2.0.0

10 Jun 19:53
e64cc6c
Compare
Choose a tag to compare

Added

  • Added support for Alpine 3.x. (#16)

v1.0.0

29 Jan 16:43
2b3e8fd
Compare
Choose a tag to compare

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:

  1. I feel really sorry for you.
  2. Consult the README.

v0.2.0

11 Jan 15:13
Compare
Choose a tag to compare

Added

  • Added support for passing anonymous functions / closures through to $clipboard. (#2)

v0.1.2

30 Aug 13:40
Compare
Choose a tag to compare

Fixes

  • Fixed AlpinePlugin name and renamed to AlpineClipboard to prevent any conflicts.

v0.1.1

30 Aug 13:25
Compare
Choose a tag to compare

Fixes

  • Fixing release schedule.

v0.1.0

30 Aug 13:19
Compare
Choose a tag to compare

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>