Skip to content

Instantly share code, notes, and snippets.

@daybrush
Created October 8, 2021 02:32
Show Gist options
  • Save daybrush/c257360d4878b35ede71d5ce39736bea to your computer and use it in GitHub Desktop.
Save daybrush/c257360d4878b35ede71d5ce39736bea to your computer and use it in GitHub Desktop.
import { MasonryInfiniteGrid, STATUS_TYPE } from "@egjs/infinitegrid";
const ig = new MasonryInfinitegrid("#container", {
gap: 5,
});
// gets visible infos. However, the information is simplified for invisible items.
ig.getStatus(STATUS.MINIMIZE_INVISIBLE_ITEMS);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment