With the snippet above you will be able to add the GeoGebra Popup Calculator to any item using the Question Editor. To use the popup across multiple items you can define a custom button:
{
"type": "custom_button",
"options": {
"name": "geogebra",
"label": "GeoGebra Graphing",
"icon_class": "lrn_btn ggb-calc-toggle ggb-icon-graphing"
}
}
For complete code see
https://dev.geogebra.org/partners/learnosity/popup.php .
See also
Learnosity documentation on Custom Buttons.
The icon class should match the label. The suggested combinations are listed below:
label | icon_class |
GeoGebra | lrn_btn ggb-calc-toggle |
GeoGebra Graphing | lrn_btn ggb-calc-toggle ggb-icon-graphing |
GeoGebra Geometry | lrn_btn ggb-calc-toggle ggb-icon-geometry
|
GeoGebra 3D | lrn_btn ggb-calc-toggle ggb-icon-3d |
GeoGebra CAS | lrn_btn ggb-calc-toggle ggb-icon-cas |
GeoGebra Probability | lrn_btn ggb-calc-toggle ggb-icon-probability
|
GeoGebra Spreadsheet | lrn_btn ggb-calc-toggle ggb-icon-spreadsheet |