You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chafey edited this page Mar 24, 2014
·
2 revisions
The setViewport api call is used to modify Viewport properties for an enabled element. Calling this method causes the image to be updated to reflect the changes.
function setViewport(element, viewport);
Parameters:
element - the DOM element of an enabled element to set the viewport of