DocumentFragment.html constructor

DocumentFragment.html(String html, { NodeValidator validator, NodeTreeSanitizer treeSanitizer })

Implementation

factory DocumentFragment.html(String html,
    {NodeValidator validator, NodeTreeSanitizer treeSanitizer}) {
  return document.body.createFragment(html,
      validator: validator, treeSanitizer: treeSanitizer);
}