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
84
84
`a real package <https://docs.npmjs.com/packages-and-modules/contributing-packages-to-the-registry >`__
85
85
for your Javascript, if you're just experimenting it might be easiest to quickly
86
86
hook 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 ``
88
88
parameter which is a file-like object. In the following example we'll use Victory again,
89
89
but this time we'll add a callback to it. Unfortunately we can't just pass it in
90
90
:ref: `like we did before <Passing Props To Javascript >` because Victory's
91
91
event 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 `:
93
93
94
94
Click the bars to trigger an event 👇
95
95
You can’t perform that action at this time.
0 commit comments