fuse-gallery
fuse-gallery copied to clipboard
Fuse Gallery

Library to use the gallery in Fuse.
Installation
Using fusepm
$ fusepm install https://github.com/bolav/fuse-gallery
Usage
UX:
<Gallery ux:Global="Gallery" />
<Image File="{image}">
JavaScript:
var gallery = require('Gallery');
var Observable = require('FuseJS/Observable');
var image = Observable();
function load () {
gallery.getPicture().then(function (pic) {
image.value = pic;
});
}
module.exports = {
load: load,
image: image
}