github zeroclipboard/zeroclipboard v2.1.0
New API methods

latest releases: v2.3.0, v2.2.0, v2.1.6...
8 years ago

New API methods

  • ZeroClipboard.focus(el), which is the preferred alias for ZeroClipboard.activate(el)
  • ZeroClipboard.blur(), which is the preferred alias for ZeroClipboard.deactivate()
  • var _currentElement = ZeroClipboard.activeElement();
  • var pendingData = ZeroClipboard.getData();
  • var pendingText = ZeroClipboard.getData("text/plain");
  • var pendingData = client.getData();
  • var pendingText = client.getData("text/plain");

Full API docs

v2.1.0/docs/api/ZeroClipboard.md

Complete Diff

v2.0.3...v2.1.0

Don't miss a new zeroclipboard release

NewReleases is sending notifications on new releases.