File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -84,12 +84,12 @@ While it's probably best to create
8484`a real package <https://docs.npmjs.com/packages-and-modules/contributing-packages-to-the-registry >`__
8585for your Javascript, if you're just experimenting it might be easiest to quickly
8686hook in a module of your own making on the fly. As before, we'll be using a
87- :class: `~idom.widgets.utils .Module `, however this time we'll pass it a ``source ``
87+ :class: `~idom.client.module .Module `, however this time we'll pass it a ``source ``
8888parameter which is a file-like object. In the following example we'll use Victory again,
8989but this time we'll add a callback to it. Unfortunately we can't just pass it in
9090:ref: `like we did before <Passing Props To Javascript >` because Victory's
9191event API is a bit more complex so we've implemented a quick wrapper for it in a file
92- ``chart.js `` which we can read in as a ``source `` to :class: `~idom.widgets.utils .Module `:
92+ ``chart.js `` which we can read in as a ``source `` to :class: `~idom.client.module .Module `:
9393
9494Click the bars to trigger an event 👇
9595
You can’t perform that action at this time.
0 commit comments