You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First, thank you for the contribution with this project! It's helping me a lot on docs for my open source project. I'm using it with docusaurus and, after a few tweaks, I was able to make it run.
However, in order to do that I had to change the code on typograms.js to expose the function create as window.createTypogram.
Maybe there are better ways to do it. Anyways, I think it would be great if instead of using DOMContentLoaded method, there should be another ways to use the lib, like exposing the internal functions.
The text was updated successfully, but these errors were encountered:
First, thank you for the contribution with this project! It's helping me a lot on docs for my open source project. I'm using it with docusaurus and, after a few tweaks, I was able to make it run.
However, in order to do that I had to change the code on
typograms.js
to expose the functioncreate
aswindow.createTypogram
.Here is the React component:
Maybe there are better ways to do it. Anyways, I think it would be great if instead of using
DOMContentLoaded
method, there should be another ways to use the lib, like exposing the internal functions.The text was updated successfully, but these errors were encountered: