Skip to content

Resizer - Web Component

The Resizer component can be used imported from:

Playground

Parameters

The Web component uses the <z-resizer> tag:

By default, all the parameters are optional or can be set in different, except for the ones marked as required

The parametrization of the component can be done with the following custom HTML params:

NameTypeDescriptionSlotA11y
resizablebooleanMakes the container manually resizable

Events

This component has events. Check the documentation about how to use the events.

NamePayloadDescription
resizecontentRect
mobilevoidScreen width is less than 768px
portraitvoidScreen width is between 768px and 992px
landscapevoidScreen width is between 992px and 1200px
desktopvoidScreen width is greater than 1200px

Parameters use

...

Flags

resizable

Makes the container resizable using the bottom-right corner of it.

content

Browser support

Detected engine:  

  • Chromium

  • Webkit

  • Gecko