Type alias: SizeFunction
Ƭ SizeFunction: (el
: HTMLElement
, field
: "offsetHeight"
| "offsetWidth"
) => number
Calculates the height of el
, which will be the Item
element in the DOM.
Type declaration
▸ (el
, field
): number
Parameters
Name | Type |
---|---|
el | HTMLElement |
field | "offsetHeight" | "offsetWidth" |
Returns
number