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
* Creates a Calculator3D object to control the embedded instance in the DOM element specified by element.
171
+
*
172
+
* It is possible to create a `Calculator3D` instance outside of the DOM and call methods on the returned object, but the view will not be created until element is inserted into the DOM.
173
+
*
174
+
* Note: for every instantiated `Calculator3D` instance, we run a small set of computations on every frame in order to reliably detect when the instance is added to the DOM, removed from it, show, hidden, or resized.
175
+
* This could, theoretically, have performance and/or memory implications, although the effects are miniscule unless you instantiate many Calculator3D instances.
176
+
*
177
+
* If you want to manage sizing yourself, you can instantiate with the API option `{autosize: false}`.
178
+
* In this case, you must call `.resize()` anytime that the instance is added to the DOM, removed from the DOM, or resized.
179
+
*
180
+
* When you're done using a calculator instance, call `.destroy()` to remove all of our listeners.
181
+
*/
182
+
functionCalculator3D(
183
+
element: HTMLElement,
184
+
options?: GraphConfiguration&GraphSettings,
185
+
): Calculator;
186
+
187
+
/**
188
+
* Creates a `Geometry` object to control the embedded instance in the DOM element specified by element.
189
+
*
190
+
* It is possible to create a `Geometry` instance outside of the DOM and call methods on the returned object, but the view will not be created until element is inserted into the DOM.
191
+
*
192
+
* Note: for every instantiated `Geometry` instance, we run a small set of computations on every frame in order to reliably detect when the instance is added to the DOM, removed from it, show, hidden, or resized.
193
+
* This could, theoretically, have performance and/or memory implications, although the effects are miniscule unless you instantiate many `Geometry` instances.
194
+
*
195
+
* If you want to manage sizing yourself, you can instantiate with the API option `{autosize: false}`.
196
+
* In this case, you must call `.resize()` anytime that the instance is added to the DOM, removed from the DOM, or resized.
197
+
*
198
+
* When you're done using a geometry instance, call `.destroy()` to remove all of our listeners.
199
+
*/
200
+
functionGeometry(
201
+
element: HTMLElement,
202
+
options?: GraphConfiguration&GraphSettings,
203
+
): Calculator;
204
+
167
205
/**
168
206
* Creates a calculator object to control the calculator embedded in the DOM element specified by element.
"nonNpmDescription": "Desmos graphing calculator API (https://www.desmos.com/api/v1.11/docs/).\nThese types are for use with the Desmos API loaded via <script> tag.\nThe NPM package `desmos` is unofficial and unmaintained, and should not be used.",
0 commit comments