-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjquery-barcode-test.html
More file actions
45 lines (39 loc) · 1.34 KB
/
jquery-barcode-test.html
File metadata and controls
45 lines (39 loc) · 1.34 KB
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
<head>
<title>jquery-barcode-test</title>
</head>
<body>
{{> hello}}
<hr/>
{{> on_rendered}}
<hr/>
{{> on_event}}
</body>
<template name="hello">
<h1>jquery-barcode-test</h1>
<p>By <a href="http://www.etherpos.com" target="_blank">EtherPOS</a></p>
<p>Test for Meteor meteorite/atmosphere smart package jquery-barcode.</p>
<p>More info at:<br/>
mrt it <a href="https://atmosphere.meteor.com/package/jquery-barcode" target="_blank">jquery-barcode @ atmosphere</a><br/>
git jquery-barcode <a href="https://github.com/EtherPOS/meteor-jquery-barcode" target="_blank">jquery-barcode @ github</a><br/>
git jquery-barcode-test <a href="https://github.com/EtherPOS/meteor-jquery-barcode-test" target="_blank">jquery-barcode-test @ github</a>
</p>
</template>
<template name="on_rendered">
<h2>On rendered</h2>
<h3>Hardcoded</h3>
<center><div id="bc"></div></center>
<h3>From DOM</h3>
<p>Iterate over a collection in template generating barcodes from dom automatically.</p>
<center>
<b>Barcode ID:</b> <span id="barcode_id">1234567890</span>
<div id="bc1234567890"></div>
</center>
</template>
<template name="on_event">
<h2>On event</h2>
<h3>On keyup</h3>
<input type="text" id="keyup_barcode_id" name="keyup_barcode_id" value="change me">
<center>
<div id="key_up_barcode"></div>
</center>
</template>