ixfx
Preparing search index...
@ixfx/dom
ElementSizerOptions
Type Alias ElementSizerOptions<T>
Options
type
ElementSizerOptions
<
T
extends
HTMLElement
|
SVGElement
>
=
{
containerEl
?:
HTMLElement
|
string
;
debounceTimeout
?:
Interval
;
naturalSize
?:
Rect
;
onSizeChanging
:
(
size
:
Rect
,
el
:
T
)
=>
void
;
onSizeDone
?:
(
size
:
Rect
,
el
:
T
)
=>
void
;
stretch
?:
ElementResizeLogic
;
}
Type Parameters
T
extends
HTMLElement
|
SVGElement
Index
Properties
container
El?
debounce
Timeout?
natural
Size?
on
Size
Changing
on
Size
Done?
stretch?
Properties
Optional
container
El
containerEl
?:
HTMLElement
|
string
If not specified, the element's parent is used
Optional
debounce
Timeout
debounceTimeout
?:
Interval
Optional
natural
Size
naturalSize
?:
Rect
on
Size
Changing
onSizeChanging
:
(
size
:
Rect
,
el
:
T
)
=>
void
Optional
on
Size
Done
onSizeDone
?:
(
size
:
Rect
,
el
:
T
)
=>
void
Optional
stretch
stretch
?:
ElementResizeLogic
Default Value
'none'
Copy
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
container
El
debounce
Timeout
natural
Size
on
Size
Changing
on
Size
Done
stretch
ixfx
Loading...
Options