Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
ryangjchandler committed Aug 30, 2020
1 parent c9fc7a4 commit f1eb303
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions examples/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!DOCTYPE html>
<head>
<title>Alpine Clipboard</title>
<script src="../dist/alpine-clipboard.umd.js"></script>
<script src="https://cdn.jsdelivr.net/gh/alpinejs/[email protected]/dist/alpine.js" defer></script>
</head>
<body>
<div x-data="{ input: '' }">
<input x-model="input">
<button type="button" @click="$clipboard(input)">Copy to Clipboard</button>
</div>
</body>

0 comments on commit f1eb303

Please sign in to comment.