naver / egjs-infinitegrid

A module used to arrange card elements including content infinitely on a grid layout.
https://naver.github.io/egjs-infinitegrid/
MIT License
2.23k stars 95 forks source link

Why "TypeError: Cannot set properties of undefined (setting '_eventHandler')" #555

Open SprayHank opened 1 year ago

SprayHank commented 1 year ago

Description

image

Steps to check or reproduce

image I use the demo on the officel site image and loading with vue2-sfc-loader image and vue version is 2.7.14

daybrush commented 1 year ago

@SprayHank

Hi, does the MasonryInfiniteGrid you use look like @egjs/infinitegrid?

Try @egjs/vue-infinitegrid(only vue2) here

SprayHank commented 1 year ago

@daybrush How to know which I am using?

I got the code from here "https://cdnjs.com/libraries/egjs-infinitegrid"

By the way, Can I compile my own one for vue2 from source? If yes, how?

Becouse my project dosent use webpack, so I cant use the library like " from '@egjs/vue-infinitegrid';"

And, dose it have a downloadable demo so I can test it locally and fully control every things?