Boolean if the resize event handler should be called immediately once the
component is mounted. The default behavior will be to only call the
onResize
event immediately client side and can never be invoked server
side since it resize on the window
to dispatch a UIEvent
.
A function to call when the app is resized.
Any event listener options to use when attaching the event.
Generated using TypeDoc
Boolean if the resize observer should be enabled. You can swap this boolean to
true
orfalse
to add/remove the event listeners. The event listeners will always be removed when the parent component is unmounted though.