Client
Blaze.toHTMLWithData(templateOrView, data)
import { Blaze } from 'meteor/blaze'
Source Renders a template or View to HTML with a data context. Otherwise identical to Blaze.toHTML
.
Arguments
- templateOrView Blaze.Template or Blaze.View
-
The template (e.g.
Template.myTemplate
) or View object from which to generate HTML. - data Object or Function
-
The data context to use, or a function returning a data context.
Please login to continue.