How to use @uiengine/ui - 2 common examples

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
}
github dennisreimann / uiengine / packages / core / src / interface.js View on Github external
async function setup (state) {
  debug3(state, 'Interface.setup():start')

  const options = getOptions(state)
  await UI.setup(options)

  debug3(state, 'Interface.setup():end')
}

@uiengine/ui

UIengine user interface.

MIT
Latest version published 28 days ago

Package Health Score

62 / 100
Full package analysis

Popular @uiengine/ui functions