Skip to content
This repository has been archived by the owner on May 26, 2022. It is now read-only.

gardr/plugin-host-resize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gardr Resize Plugin

Build Status Dependency Status devDependency Status

Gardr plugin to resize container to content size

Install

npm install gardr-plugin-host-resize --save

Use

In your host bundle file:

var gardrHost = require('gardr-host');
var resize = require('gardr-plugin-host-resize');

gardrHost.plugin(resize);

module.exports = gardrHost;

Add resizeHorizontal = true and/or resizeVertical = true to item.options to enable resize for a position

var gardr = gardrHost(...);
gardr.queue('position', {
	resizeHorizontal: true,
	resizeVertical: true,
	...
});

About

Gardr plugin to resize container to content size

Resources

License

Stars

Watchers

Forks

Packages

No packages published