How to use the stencila.getQueryStringParam function in stencila

To help you get started, we’ve selected a few stencila 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 stencila / desktop / app / document / documentWindow.js View on Github external
window.addEventListener('load', () => {
  let documentId = getQueryStringParam('documentId')
  window.documentPage = DocumentPage.mount({
    backend,
    appState,
    documentId
  }, window.document.body)

  window.documentPage.on('loaded', () => {
    window.document.title = window.documentPage.getTitle()
  })
})

stencila

Living documents for reproducible research.

Apache-2.0
Latest version published 4 years ago

Package Health Score

58 / 100
Full package analysis