public KnockoutTagBuilder <TModel> SpanInline(string text, object htmlAttributes = null) { var tagBuilder = new KnockoutTagBuilder <TModel>(Context, "span", InstanceNames, Aliases); tagBuilder.ApplyAttributes(htmlAttributes); tagBuilder.Text(text); return(tagBuilder); }
public KnockoutTagBuilder <TModel> Span(Expression <Func <TModel, object> > text, object htmlAttributes = null) { var tagBuilder = new KnockoutTagBuilder <TModel>(Context, "span", InstanceNames, Aliases); tagBuilder.ApplyAttributes(htmlAttributes); tagBuilder.Text(text); return(tagBuilder); }