A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://react-grid-layout.github.io/react-grid-layout/examples/10-dynamic-min-max-wh.html below:

RGL Example 10 - Dynamic Minimum and Maximum Width/Height

RGL Example 10 - Dynamic Minimum and Maximum Width/Height React-Grid-Layout v1.5.2 Demo 10 - Dynamic Minimum and Maximum Width/Height

Your application may have more complex rules for determining an element's mins and maxes. This demo demonstrates how to use the `onResize` handler to accomplish this.

In this grid, all elements are allowed a max width of 2 if the height < 3, and a min width of 2 if the height >= 3.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4