-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
52 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
import { | ||
FrameInfiniteGrid as VanillaFrameInfiniteGrid, | ||
FrameInfiniteGrid as VanillaFrameInfiniteGrid, FrameInfiniteGridOptions, | ||
} from "@egjs/infinitegrid"; | ||
import { makeInfiniteGrid } from "../InfiniteGrid"; | ||
import { VueInfiniteGridInterface } from "../types"; | ||
|
||
export const FrameInfiniteGrid = makeInfiniteGrid("frame-infinite-grid", VanillaFrameInfiniteGrid); | ||
export type FrameInfiniteGrid = VueInfiniteGridInterface<typeof VanillaFrameInfiniteGrid>; | ||
export const FrameInfiniteGrid = makeInfiniteGrid<FrameInfiniteGridOptions>( | ||
"frame-infinite-grid", | ||
VanillaFrameInfiniteGrid, | ||
); | ||
export type FrameInfiniteGrid = InstanceType<typeof FrameInfiniteGrid>; |
11 changes: 7 additions & 4 deletions
11
packages/vue3-infinitegrid/src/grids/JustifiedInfiniteGrid.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
import { | ||
JustifiedInfiniteGrid as VanillaJustifiedInfiniteGrid, | ||
JustifiedInfiniteGrid as VanillaJustifiedInfiniteGrid, JustifiedInfiniteGridOptions, | ||
} from "@egjs/infinitegrid"; | ||
import { makeInfiniteGrid } from "../InfiniteGrid"; | ||
import { VueInfiniteGridInterface } from "../types"; | ||
|
||
export const JustifiedInfiniteGrid = makeInfiniteGrid("justified-infinite-grid", VanillaJustifiedInfiniteGrid); | ||
export type JustifiedInfiniteGrid = VueInfiniteGridInterface<typeof VanillaJustifiedInfiniteGrid>; | ||
export const JustifiedInfiniteGrid = makeInfiniteGrid<JustifiedInfiniteGridOptions>( | ||
"justified-infinite-grid", | ||
VanillaJustifiedInfiniteGrid, | ||
); | ||
export type JustifiedInfiniteGrid = InstanceType<typeof JustifiedInfiniteGrid>; | ||
|
10 changes: 6 additions & 4 deletions
10
packages/vue3-infinitegrid/src/grids/MasonryInfiniteGrid.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
import { | ||
MasonryInfiniteGrid as VanillaMasonryInfiniteGrid, | ||
MasonryInfiniteGrid as VanillaMasonryInfiniteGrid, MasonryInfiniteGridOptions, | ||
} from "@egjs/infinitegrid"; | ||
import { makeInfiniteGrid } from "../InfiniteGrid"; | ||
import { VueInfiniteGridInterface } from "../types"; | ||
|
||
export const MasonryInfiniteGrid = makeInfiniteGrid("masonry-grid", VanillaMasonryInfiniteGrid); | ||
export type MasonryInfiniteGrid = VueInfiniteGridInterface<typeof VanillaMasonryInfiniteGrid>; | ||
export const MasonryInfiniteGrid = makeInfiniteGrid<MasonryInfiniteGridOptions>( | ||
"masonry-infinite-grid", | ||
VanillaMasonryInfiniteGrid, | ||
); | ||
export type MasonryInfiniteGrid = InstanceType<typeof MasonryInfiniteGrid>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
import { | ||
PackingInfiniteGrid as VanillaPackingInfiniteGrid, | ||
PackingInfiniteGridOptions, | ||
} from "@egjs/infinitegrid"; | ||
import { makeInfiniteGrid } from "../InfiniteGrid"; | ||
import { VueInfiniteGridInterface } from "../types"; | ||
|
||
export const PackingInfiniteGrid = makeInfiniteGrid("packing-infinite-grid", VanillaPackingInfiniteGrid); | ||
export type PackingInfiniteGrid = VueInfiniteGridInterface<typeof VanillaPackingInfiniteGrid>; | ||
export const PackingInfiniteGrid = makeInfiniteGrid<PackingInfiniteGridOptions>( | ||
"packing-infinite-grid", | ||
VanillaPackingInfiniteGrid, | ||
); | ||
export type PackingInfiniteGrid = InstanceType<typeof PackingInfiniteGrid>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters