Library to use the gallery in Fuse.
Using fusepm
$ fusepm install https://github.com/bolav/fuse-gallery
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
}