Skip to main content
Version: 4.6.0

FrameInfiniteGridOptions

Type: TSInterface

PROPERTYTYPEDESCRIPTION
horizontalboolean
percentageArray<"position" | "size"> | boolean
isEqualSizeboolean
isConstantSizeboolean
gapnumber
attributePrefixstring
resizeDebouncenumber
maxResizeDebouncenumber
autoResizeboolean
useFitboolean
useTransformboolean
renderOnPropertyChangeboolean
preserveUIOnDestroyboolean
defaultDirection"start" | "end"
outlineLengthnumber
outlineSizenumber
useRoundedSizeboolean
useResizeObserverboolean
observeChildrenboolean
externalItemRendererItemRenderer | null
externalContainerManagerContainerManager | null
framenumber[][]

The shape of the grid. You can set the shape and order of items with a 2d array ([contentPos][inlinePos]). You can place items as many times as you fill the array with numbers, and zeros and spaces are empty spaces. The order of the items is arranged in ascending order of the numeric values that fill the array. (default: [])

useFrameFillboolean

Make sure that the frame can be attached after the previous frame. (default: true)

rectSizenumber | {inlineSize: number, contentSize: number}

1x1 rect size. If it is 0, it is determined by the number of columns in the frame. (default: 0)

horizontalboolean
percentageArray<"position" | "size"> | boolean
isEqualSizeboolean
isConstantSizeboolean
gapnumber
attributePrefixstring
resizeDebouncenumber
maxResizeDebouncenumber
autoResizeboolean
useFitboolean
useTransformboolean
renderOnPropertyChangeboolean
preserveUIOnDestroyboolean
defaultDirection"start" | "end"
outlineLengthnumber
outlineSizenumber
useRoundedSizeboolean
useResizeObserverboolean
observeChildrenboolean
externalItemRendererItemRenderer | null
externalContainerManagerContainerManager | null
containerboolean | 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)

containerTagstring

If you create a container, you can set the container's tag. (default: "div")

thresholdnumber

The size of the scrollable area for adding the next group of items. (default: 100)

useRecycleboolean

Whether to show only the DOM of the visible area. (default: true)

gridConstructorGridFunction

Grid class to apply Infinite function.

rendererRenderer | null

class that renders the DOM.