Skip to content

LukeSheard/phosphor-standalone

Repository files navigation

phosphor-standalone

A standalone, browser compatible build of PhosphorJS.

Build Status

Usage

Just load the bundle into the browser. It can then be used in conjunction with Phosphor Custom Elements to display custom views.

<html>
  ...
  <body>
    ...
    <script src="node_modules/@lukesheard/phosphor-standalone/dist/phosphor.js"></script>
    <script>
      const {
        Widget, 
        DockPanel
      } = window.phosphor
    </script>
  </body>
</html>