Comments (4)
thank you mate, this works perfectly now.
from desmos-react.
You need to include Desmos in your page:
<script src="https://www.desmos.com/api/v1.6/calculator.js?apiKey=dcb31709b452b1cf9dc26972add0fda6"></script>
from desmos-react.
You need to include Desmos in your page:
<script src="https://www.desmos.com/api/v1.6/calculator.js?apiKey=dcb31709b452b1cf9dc26972add0fda6"></script>
Thank you, all I had to do was add that to my index.html. However I am now at a new problem, I am trying to make the demo work but all I am getting is what seems to be a line appearing. This is what I have used as the demo function:
and this is all I am getting rendered:
also, im sorry if these questions are very obvious or dumb, this is my first time using a react wrapper. any help would be appreciated.
from desmos-react.
Add this to your CSS:
html, body, #root, .calculator {
height: 100%;
width: 100%;
}
from desmos-react.
Related Issues (7)
- Multiple errors with module HOT 6
- Lack of README on npm HOT 2
- How to set math bounds HOT 6
- When using GraphingCalculator, I get the error "ReferenceError: Desmos is not defined" HOT 2
- Breaks using Strict Mode in React 18 HOT 2
- [question]Uncaught (in promise) ReferenceError: Desmos is not defined HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from desmos-react.