scalable
Advanced tools
Weekly downloads
Readme
Makes the UI elements scalable to fit inside the container area.
npm install scalable --save
var scalable = new Scalable(containerEl, options);
align
: left | center | right
Horizontal alignment of an element. default: left
verticalAlign
: top | center | bottom
Vertical alignment of an element. default: top
containerHeight
: fixed | auto
Behaviorur of container height property default: fixed
fixed
- The element fits inside the container.auto
- Enlargement of the element increases the height of the container.minWidth
: Minimum width of an element.maxWidth
: Maximum width of an element.minScale
: Minimum scale of an element.maxScale
: Maximum width of an element.FAQs
Makes the UI elements scalable to fit inside the container area.
The npm package scalable receives a total of 73 weekly downloads. As such, scalable popularity was classified as not popular.
We found that scalable demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.