Gardr plugin to resize container to content size
npm install gardr-plugin-host-resize --save
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,
...
});