tangled
alpha
login
or
join now
ansxor.ca
/
markup2
0
fork
atom
this repo has no description
0
fork
atom
overview
issues
1
pulls
pipelines
i
12Me21
3 years ago
645c12ff
709d1a73
+2
-2
1 changed file
expand all
collapse all
unified
split
render.js
+2
-2
render.js
···
213
213
}.bind({
214
214
elem: H`<img data-state=loading data-shrink tabindex=0>`,
215
215
set_size: (e, state)=>{
216
216
-
e.dataset.state = state
217
217
-
e.width = e.naturalWidth
218
216
e.height = e.naturalHeight
217
217
+
e.width = e.naturalWidth
218
218
+
e.dataset.state = state
219
219
e.style.setProperty('--width', e.naturalWidth)
220
220
e.style.setProperty('--height', e.naturalHeight)
221
221
},