UNPKG
luda
Version:
latest (0.3.3)
0.3.3
0.3.2
0.3.1
0.3.0
0.2.0
0.1.13
0.1.12
0.1.11
0.1.10
0.1.9
0.1.8
0.1.7
0.1.6
0.1.5
A library helps to build cross-framework UI components.
oatw.github.io/luda
oatw/luda
luda
/
src
/
coffee
/
behaviors
/
readonly.coffee
23 lines
(13 loc)
•
323 B
text/coffeescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import
'../kernel/index.coffee'
import
'../mixins/disable.coffee'
luda.component
'readonly'
,
'[readonly]'
.protect attr: disable:
'readonly'
data
: disable: tabIndex:
'data-readonly_tabindex'
.protect luda.mixin(
'disable'
).all() .help create: ->
@disableCreate()
destroy: ->
@disableDestroy()