3 Developing: 4. Overrides
athena edited this page 4 months ago

Overrides

Overrides allow you to quickly modify data-related content from outside of Jupiter.

Standard practice is to first declare the custom object

<script>
    let custom_modals = {}
</script>

and then load JupiterUI

<script src="dist/jupiterui.js"></script>

As of version 2.0, there are only 3 custom objects available.

They are: custom_config, custom_modals, custom_icons

If you set the custom_modals object, it will overwrite the existing default modals.

Setting either custom_config or custom_icons will not overwrite the defaults, instead it just modifies the values you provide.

Next: Developing: 5. Custom Callbacks