undoClipping

undoClipping(element) -> HTMLElement

Sets element’s CSS overflow property back to the value it had before Element.makeClipping() was applied. Returns element.

Example


<div id="framer">
  <img src="/assets/2007/1/14/chairs.jpg" alt="example" />
</div>

$('framer').undoClipping();
// -> HTMLElement (and sets the CSS overflow property to its original value).

Click me to try it out.

example