1.0.6 • Published 1 month ago

@tofandel/min-viewport v1.0.6

Weekly downloads
-
License
GPL-3.0-or-later
Repository
github
Last release
1 month ago

Min Viewport

This package allows you to specify a minimum viewport for your web application.

This is useful if you do not to spend valuable resources testing and adapting your application for screens under a certain size, the minimum viewport will simply tell the browser to zoom out the entire content to fit the minimum size requirement

This package handles all the events for you, so if the user resizes his screen or changes his screen orientation the viewport will either be set to the minimum or restored to it's original state

Installation

npm i @tofandel/min-viewport

Usage

import minViewport from `@tofandel/min-viewport`

minViewport(400); // 400 being the minimum viewport size
1.0.6

1 month ago

1.0.5

10 months ago

1.0.4

10 months ago

1.0.3

10 months ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago