attaches a viewport to an existing object on the page (renders an object as a viewport)
objId | string | object id |
For example, we have a div with some nested objects on the page:
<div id="vpObj"> </div>
We can attach windows' viewport to the div, so its content will be accessible:
myWins.attachViewportTo("vpObj");
Back to top