-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Description
I would like the size of the zoom window to be configurable in the options. If there is already a way to accomplish this, please, just let me know; I just couldn't find it.
Right now, I can only get this seemingly undocumented signature to do it (and this only works after it's already initialized)
var xoffset = 0,
yoffset= 0,
zoomDimension = [200,200];
$('#container').anythingZoomer(xoffset, yoffset, zoomDimension)
The other hackish way to do it is this: (seems to work the best)
$('#container').anythingZoomer({
initialized: function(){
$('#container').data('zoomer').last = [200,200];
}
})
What I would like to do:
$('#container').anythingZoomer({
zoomDim: [200,200]
});
Metadata
Metadata
Assignees
Labels
No labels