Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.
/ regionize Public archive

A tiny library to flow HTML through multiple regions

License

Notifications You must be signed in to change notification settings

evnbr/regionize

Repository files navigation

Regionize

⚠️ Note that the main branch is tracking a 1.0.0 refactor which is in alpha and is still being stabilized. Documentation has not been updated and refers to the 0.1.X version

npm Build Status codecov Bundle Size

A bare-bones, asynchronous javascript library to flow HTML content across a series of separate elements. It makes no attempt to handle the styling of elements that break across regions.

Note that Regionize is inspired by the proposed CSS Regions spec, but does not attempt to polyfill that API. Instead, it provides utilities to determine how much of an DOM tree can fit inside a statically-sized container, and how much overflows, in plain javascript.

Regionize powers bindery.js.

Usage

npm i -s regionize

TODO: docs

About

A tiny library to flow HTML through multiple regions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published