UNPKG
daisho
Version:
latest (1.2.72)
1.2.72
1.2.71
1.2.70
1.2.69
1.2.68
1.2.67
1.2.66
1.2.65
1.2.64
1.2.63
1.2.62
1.2.61
1.2.60
1.2.59
1.2.58
1.2.57
1.2.56
1.2.55
1.2.54
1.2.53
1.2.52
1.2.51
1.2.50
1.2.49
1.2.48
1.2.47
1.2.46
1.2.45
1.2.44
1.2.43
1.2.42
1.2.41
1.2.40
1.2.39
1.2.38
1.2.37
1.2.36
1.2.35
1.2.34
1.2.33
1.2.31
1.2.30
1.2.29
1.2.28
1.2.27
1.2.25
1.2.24
1.2.22
1.2.21
1.2.20
1.2.19
1.2.17
1.2.16
1.2.15
1.2.14
1.2.13
1.2.12
1.2.11
1.2.10
1.2.9
1.2.8
1.2.7
1.2.6
1.2.5
1.2.4
1.2.3
1.2.2
1.2.1
1.2.0
1.1.4
1.1.3
1.1.2
1.1.1
1.1.0
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
Modular dashboard framework
github.com/hanzo-io/daisho
hanzo-io/daisho
daisho
/
src
/
views
/
controls
/
checkbox.coffee
13 lines
(8 loc)
•
249 B
text/coffeescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
import
Switch
from
'./switch'
import
html
from
'../../templates/controls/checkbox'
export
default
class
BetterCheckbox
extends
Switch
tag
:
'checkbox'
html
: html
getValue
: (event)->
return
event.
target
.
checked
BetterCheckbox
.
register
()