GeoGebra App Parameters
This page lists all parameters that can be used to configure GeoGebra Apps. Please see GeoGebra Apps Embedding to learn how to embed GeoGebra apps into your pages and where these parameters can be used.
Name | Value | Description | Since |
---|---|---|---|
appName |
eg |
app name, default: "classic" "graphing" … GeoGebra Graphing Calculator "geometry" … GeoGebra Geometry "3d" … GeoGebra 3D Graphing Calculator "classic" … GeoGebra Classic "suite" … GeoGebra Calculator Suite "evaluator" … Equation Editor "scientific" … Scientific Calculator "notes" … GeoGebra Notes |
6.0 |
width |
eg |
Applet width (compulsory field unless using |
|
height |
eg |
Applet height (compulsory field unless using |
|
material_id |
eg |
GeoGebra Materials id to load See first applet here: https://dev.geogebra.org/examples/html/example-multiple.html |
5.0 |
filename |
eg |
URL of file to load See second applet here: https://dev.geogebra.org/examples/html/example-multiple.html |
4.0 |
ggbBase64 |
base64 encoded .ggb file |
Encoded file to load. See the applet here: https://dev.geogebra.org/examples/html/example-single.html |
4.0 |
borderColor |
e.g. |
Color of the border line drawn around the applet panel (as hex rgb string). Default: gray |
3.0 |
borderRadius |
number |
Size of applet’s border radius in pixels. |
6.0 |
enableRightClick |
|
States whether right clicks should be handled by the applet. Setting this parameter to "false" disables context menus, properties dialogs and right-click-zooming. Default: true. NB also enables/disables some keyboard shortcuts eg Delete and Ctrl + R (recompute all objects). Default: true |
3.0 |
enableLabelDrags |
|
States whether labels can be dragged. Default: true |
3.2 |
enableShiftDragZoom |
|
States whether the Graphics View(s) should be moveable using Shift |
3.0 |
showZoomButtons |
|
States whether the zoom in / zoom out / home buttons should be shown in the Graphics View or not. Default: false |
6.0 |
errorDialogsActive |
|
States whether error dialogs will be shown if an invalid input is entered (using the Input Bar or JavaScript) Default: true |
3.2 |
showMenuBar |
|
States whether the menubar of GeoGebra should be shown in the applet. Default: false |
2.5 |
showToolBar |
|
States whether the toolbar with the construction mode buttons should be shown in the applet. Default: false |
2.5 |
showToolBarHelp |
|
States whether the toolbar help text right to the toolbar buttons should be shown in the applet |
3.0 |
customToolBar |
e.g. |
Sets the toolbar according to a custom toolbar string where the int
values are Toolbar Mode Values, |
2.5 |
showAlgebraInput |
|
States whether the algebra input line (with input field, greek letters and command list) should be shown in the applet. Default: false |
2.5 |
showResetIcon |
|
States whether a small icon (GeoGebra ellipse) should be shown in the upper right corner of the applet. Clicking on this icon resets the applet (i.e. it reloads the file given in the filename parameter). Default: false |
2.5 |
language |
GeoGebra tries to set your local language automatically (if it is available among the supported languages, of course). The default language for unsupported languages is English. If you want to specify a certain language manually, please use this parameter. |
2.5 |
|
country |
iso country string, e.g. |
This parameter only makes sense if you use it together with the language parameter. |
2.5 |
id |
eg |
This parameter allows you to specify the argument passed to the JavaScript function ggbOnInit(), which is called once the applet is fully initialised. This is useful when you have multiple applets on a page - see this example (will have no effect in earlier versions) |
3.2 |
allowStyleBar |
|
Determines whether the Style Bar can be shown (or will be shown if just Graphics View 1 is showing)Default: false |
4.0 |
randomize |
|
Determines whether random numbers should be randomized on file load. Useful when you want the app to reload in exactly the same state it was saved.Default: true |
6.0 |
randomSeed |
eg |
Specify seed for random numbers. Note that if you save a state of the app after
user interacted with it and try to reload that state with the same randomSeed, you may get a different result. Use
|
5.0 |
appletOnLoad |
eg |
JavaScript method to run when the activity is initialized (and file loaded if applicable) |
5.0 |
useBrowserForJS |
|
When true, GeoGebra
When false, GeoGebra:
Default: false |
4.0 |
showLogging |
|
Determines whether logging is shown in the Browser’s consoleDefault: false |
4.2 |
capturingThreshold |
integer |
Determines the sensitivity of object selection. The default value of 3 is usually fine to select and drag objects both with the mouse and touch. Use larger values (e.g. 4 or 5) to make it easier to select and drag objects.Default: 3 |
4.4 |
enableFileFeatures |
|
Determines whether file saving, file loading, sign in and Options > Save settings are enabled. This argument is ignored when menubar is not showing.Default: true |
5.0 |
enableUndoRedo |
|
Determines whether Undo and Redo icons are shown. This argument is ignored when toolbar is not showing.Default: true |
6.0 |
perspective |
string |
For values see SetPerspective_Command. Just for a blank start ie shouldn’t be used with material_id, filename or ggbBase64 parameters |
5.0 |
enable3d |
|
Whether 3D should be enabled (for exam mode). When neither true nor false are entered, user can decide in a dialog. |
5.0 |
enableCAS |
|
Whether CAS should be enabled (for exam mode). When neither true nor false are entered, user can decide in a dialog. |
5.0 |
algebraInputPosition |
|
Determines whether input bar should be shown in algebra, on top of the applet or under the applet. When left empty (default), the position depends on file. |
5.0 |
preventFocus |
|
When set to true, this prevents the applet from getting focus automatically at the start.Default: false |
5.0 |
scaleContainerClass |
String |
Name of CSS class that is used as container; applet will scale to fit into the container. |
5.0 |
autoHeight |
boolean |
• |
5.0 |
allowUpscale |
|
Determines whether automatic scaling may scale the applet upDefault: false |
5.0 |
playButton |
|
Determines whether a preview image and a play button should be rendered in place of the applet. Pushing the play button initializes the applet.Default: false |
5.0 |
scale |
number |
Ratio by which the applet should be scaled (eg. 2 makes the applet 2 times bigger, including all texts and UI elements). Default: 1 |
5.0 |
showAnimationButton |
|
Whether animation button should be visible |
5.0 |
showFullscreenButton |
|
Whether fullscreen button should be visible |
6.0 |
showSuggestionButtons |
|
Whether suggestion buttons (special points, solve) in Algebra View should be visible |
6.0 |
showStartTooltip |
|
Whether "Welcome" tooltip should be shown |
5.0 |
rounding |
string |
String composed of number of decimal places and flags — valid flags are "s" for significant digits and "r" for rational numbers. Hence "10" means 10 decimal places, "10s" stands for 10 significant digits. |
6.0 |
buttonShadows |
|
Whether buttons should have shadow |
6.0 |
buttonRounding |
Number (0 - 0.9) |
Relative radius of button’s rounded border. The border radius in pixels is
|
6.0 |
buttonBorderColor |
Hex color ( |
Border color of buttons on the graphics view. Default is black, if the button background is white, otherwise one shade darker than the background color |
6.0 |
editorBackgroundColor |
Hex color |
Background color of the evaluator app |
6.0 |
editorForegroundColor |
Hex color |
Foreground (text) color of the equation editor (appname = "evaluator") |
6.0 |
textmode |
|
Whether editor is in text mode or not (appname = "evaluator")Default:
|
6.0 |
showKeyboardOnFocus |
|
Whether to show keyboard when input is focused. When set to
|
6.0 |
keyboardType |
|
Which keyboard is shown for equation editor (appname = "evaluator") |
6.0 |
transparentGraphics |
|
Whether the Graphics View and Graphics View 2 should be transparent |
6.0 |
disableJavaScript |
|
Whether running JavaScript from material files is disabled or not. |
6.0 |
detachedKeyboardParent |
String |
When set, keyboard should be attached to the first element in DOM that fits the selector. |
6.0 |