Requires

Provides

Replace.js

Replaces one widget with another

License:
Public domain (http://unlicense.org).
Authors:
Yaroslaff Fedin
  1. 23
  2. 24
  3. 25
  4. 26
  5. 27
LSD.Action.Replace = LSD.Action.build({ enable: function(target, content) { if (content) target.parentNode.replaceChild((this.document || document).createFragment(content), target); } });