renderAsFragment(template, templateData = undefined) {
    const node = soy.renderAsFragment(
        template, templateData, this.getInjectedData_(), this.dom_);
    this.handleRender(node, SanitizedContentKind.HTML);
    return node;
  }
Renders a Soy template into a single node or a document fragment.
Delegates to `soy.renderAsFragment`.
@param {function(ARG_TYPES, ?soy.CompatibleIj=): *} template The Soy
    template defining the element's content.
@param {ARG_TYPES=} templateData The data for the template.
@return {!Node} The resulting node or document fragment.
@template ARG_TYPES