contain-by-screen
Advanced tools
Changelog
2.0.0 (2022-08-29)
containByScreen
function is now a named export of the module rather than
the default export. Code importing the function must be updated from
import containByScreen from "contain-by-screen";
to
import { containByScreen } from "contain-by-screen";
, or from
const containByScreen = require("contain-by-screen");
to
const { containByScreen } = require("contain-by-screen");
.getContainByScreenResults
function that works like the default
containByScreen
function but returns its suggested modification instead of
doing it.Changelog
1.0.4 (2016-03-10)