-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathindex.html
61 lines (57 loc) · 1.99 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
<link rel="stylesheet" href="assets/primer.css">
<link rel="stylesheet" href="example/example.css">
</head>
<body>
<div id="app">
<header class="header">
<h1>vue-clipboard</h1>
<p class="buttons">
<a href="https://github.com/xiaokaike/vue-clipboard" class="button">Source on GitHub</a>
</p>
</header>
<main class="wrapper">
<div class="example">
<div class="input-group">
<input class="form-control" type="text" v-model="datacopy">
<span class="input-group-button">
<button class="btn"
type="button"
:class="{'tooltipped': showTips, 'tooltipped-s': showTips}"
v-clipboard:copy="datacopy"
:success="copySucess"
:error="copyError"
@mouseleave="handlerL"
aria-label="{{arialabel}}">
<img class="clippy" src="example/clippy.svg" width="13" alt="Copy to clipboard">
</button>
</span>
</div>
</div>
<div id="example-action" class="example">
<div class="input-group">
<textarea class="form-control" cols="62" rows="5" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" v-model="datacut"></textarea>
</div>
<div class="form-actions">
<button class="btn"
type="button"
:class="{'tooltipped': showTips, 'tooltipped-s': showTips}"
v-clipboard:cut="datacut"
:success="copySucess"
:error="copyError"
@mouseleave="handlerL"
aria-label="{{arialabel}}">
Cut to clipboard
</button>
</div>
</div>
</main>
</div>
<script src="example/example.build.js"></script>
</body>
</html>