PackingInfiniteGridOptions
Type: TSInterface
PROPERTY | TYPE | DESCRIPTION |
---|---|---|
horizontal | boolean | |
percentage | Array<"position" | "size"> | boolean | |
isEqualSize | boolean | |
isConstantSize | boolean | |
gap | number | |
attributePrefix | string | |
resizeDebounce | number | |
maxResizeDebounce | number | |
autoResize | boolean | |
useFit | boolean | |
useTransform | boolean | |
renderOnPropertyChange | boolean | |
preserveUIOnDestroy | boolean | |
defaultDirection | "start" | "end" | |
outlineLength | number | |
outlineSize | number | |
useRoundedSize | boolean | |
useResizeObserver | boolean | |
observeChildren | boolean | |
externalItemRenderer | ItemRenderer | null | |
externalContainerManager | ContainerManager | null | |
aspectRatio | number | The aspect ratio (inlineSize / contentSize) of the container with items. (default: 1) |
sizeWeight | number | The size weight when placing items. (default: 1) |
ratioWeight | number | The weight to keep ratio when placing items. (default: 1) |
weightPriority | "size" | "ratio" | "custom" | The priority that determines the weight of the item. (default: "custom"), "size" = (sizeWieght: 100, ratioWeight: 1), "ratio" = (sizeWeight: 1, ratioWeight; 100), "custom" = (set sizeWeight, ratioWeight) |
horizontal | boolean | |
percentage | Array<"position" | "size"> | boolean | |
isEqualSize | boolean | |
isConstantSize | boolean | |
gap | number | |
attributePrefix | string | |
resizeDebounce | number | |
maxResizeDebounce | number | |
autoResize | boolean | |
useFit | boolean | |
useTransform | boolean | |
renderOnPropertyChange | boolean | |
preserveUIOnDestroy | boolean | |
defaultDirection | "start" | "end" | |
outlineLength | number | |
outlineSize | number | |
useRoundedSize | boolean | |
useResizeObserver | boolean | |
observeChildren | boolean | |
externalItemRenderer | ItemRenderer | null | |
externalContainerManager | ContainerManager | null | |
container | boolean | string | HTMLElement | The target to which the container is applied. If false, create itself, if true, create container. A string or HTMLElement specifies the target directly. (default: false) |
containerTag | string | If you create a container, you can set the container's tag. (default: "div") |
threshold | number | The size of the scrollable area for adding the next group of items. (default: 100) |
useRecycle | boolean | Whether to show only the DOM of the visible area. (default: true) |
gridConstructor | GridFunction | Grid class to apply Infinite function. |
renderer | Renderer | null | class that renders the DOM. |