cheektojowl

Solutions for widows and orphans in UI

Usage no npm install needed!

<script type="module">
  import cheektojowl from 'https://cdn.skypack.dev/cheektojowl';
</script>

README

CheekToJowl v1.0.0

javscript solutions for marrying Widows in web design


Question:
Is your design team sick of
widows?
or
Is your design team rid
of widows?


install:

npm install cheektojowl --save

init: Pass an array of selectors to the cheekToJowl function. These can be tags, classes, ids, or attributes - go crazy, I'll fix it if you break it.

import { cheekToJowl } from 'cheektojowl';

const $selectors = ['h1', 'h3', '.noWidowTitle']
cheekToJowl($selectors)