How to use the @uiengine/ui.render function in @uiengine/ui

To help you get started, we’ve selected a few @uiengine/ui examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github dennisreimann / uiengine / packages / core / src / interface.js View on Github external
async function render (state, template, data, themeId) {
  debug3(state, `Interface.render(${template}, ${themeId}, ${data.id}):start`)

  const options = getOptions(state, { themeId })
  const rendered = await UI.render(options, template, data)

  debug3(state, `Interface.render(${template}, ${themeId}, ${data.id}):end`)

  return rendered
}

@uiengine/ui

UIengine user interface.

MIT
Latest version published 9 days ago

Package Health Score

65 / 100
Full package analysis

Popular @uiengine/ui functions