Clean up legacy code in emoji picker

Ref: grouped-emoji-picker
This commit is contained in:
Tusooa Zhu 2021-10-08 01:02:16 -04:00
commit cbe8a2a5d2
No known key found for this signature in database
GPG key ID: 7B467EDE43A08224
4 changed files with 28 additions and 119 deletions

View file

@ -1,13 +0,0 @@
import lozad from 'lozad'
const LazyImageContainer = {
inserted (el) {
const images = el.querySelectorAll('img')
console.log(images.length)
el.$observer = lozad(images)
el.$observer.observe()
}
}
export default LazyImageContainer