INNER CODE UNIT · TypeScript

linkElement

beeequeue/yuna · src/main.ts:93

  const linkElement = (event as any).path.find((el: HTMLElement) => el.tagName === "A")

  // If there is one, check that the link isn't to our own app
  if (linkElement != null && linkElement.host !== window.location.host) {
    event.preventDefault()
    return shell.openExternal(linkElement.href)
  }
})

// Fetch relation data
updateRelations()

const apolloProvider = createProvider(store)

new Vue({
  router,
  store,
  apolloProvider,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…