We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3255b36 commit ffb9486Copy full SHA for ffb9486
examples/basic/src/index.ts
@@ -29,14 +29,16 @@ const launch = el(
29
'button',
30
{
31
onclick: () => {
32
- fireworks.launch(Number(fires.value))
+ fireworks.launch(Number(count.value))
33
}
34
},
35
'Launch'
36
)
37
38
-const fires = el('input', {
+const count = el('input', {
39
value: '1',
40
+ min: '1',
41
+ max: '15',
42
type: 'number',
43
placeholder: 'count',
44
style: {
@@ -56,7 +58,7 @@ const buttons = el(
56
58
start,
57
59
stop,
60
launch,
- fires
61
+ count
62
63
64
document.body.appendChild(buttons)
0 commit comments