Commit graph

19 commits

Author SHA1 Message Date
15b377d4a2 Revert all the way back before "turn <img> in VideoScroll into its own component" 2021-01-16 22:13:18 +01:00
91d6af38a0 add key to VideoScrollImage elements, increase performance 2021-01-16 20:44:19 +01:00
e77106fa1f turn <img> in VideoScroll into its own component 2021-01-16 18:21:08 +01:00
caecddc171 if an image doesn't load in 3s, show a gray placeholder 2021-01-13 22:43:36 +01:00
8bbcd96050 add prop types, fix warnings 2021-01-12 18:05:41 +01:00
f6c6e3a412 allow specifying multiple directions (e.g. "up right") 2021-01-12 00:15:42 +01:00
b23d471281 add lots of logging everywhere 2021-01-11 23:10:40 +01:00
32de482742 support rotation, refactor VideoScroll.vue 2021-01-11 22:17:29 +01:00
70759c7a69 remove ineffective optimization (hide !isIntersecting images) 2021-01-11 19:35:04 +01:00
452cb267fb shorten VideoScroll.vue 2021-01-11 19:29:35 +01:00
3721067cca fix intersection on unloaded images (define other dimension) 2021-01-11 19:21:39 +01:00
a6bc042876 adjust videoscroll size according to svg element, add all directions 2021-01-10 13:12:41 +01:00
b4e357a213 remove useless rootMargin 2021-01-10 13:04:48 +01:00
18e43839d1 "pre-load" first image 2021-01-10 00:30:50 +01:00
b2f2420df9 do not display images out of viewport 2021-01-10 00:00:42 +01:00
5732daf32e smoothly show loading images 2021-01-09 23:56:14 +01:00
fee57e4b3b add optimizeSpeed image-rendering attr, formatting 2021-01-09 21:01:00 +01:00
af7e345b2f add image lazy loading 2021-01-09 21:00:53 +01:00
22ee6f50cf video scrolls 2021-01-09 20:36:20 +01:00