📄️ Overview
Custom Sidebar's advanced configurations options are intended for advanced users. They are not strictly necessary and you can use the plugin without making use of them. The purpose of these options is to reduce code repetition and share configurations. It is advisable that you do not use them if they result confusing to you or if you don't understand their usage.
📄️ JavaScript Variables
js_variables is an object to declare variables intended to be used inside JavaScript templates. This object can store string, number, and boolean variables as well as dictionaries (or objects) and lists (or arrays). But on top of these types, it is also possible to store Reactive JavaScript Variables. These variables will be available in any partial or in any template.
📄️ Jinja Variables
jinja_variables is an object to declare variables intended to be used inside Jinja templates. This object can store string, number, and boolean variables as well as dictionaries (or objects) and lists (or arrays). These variables will be available in any partial or in any template.
📄️ Partials
Partials are fragments of code that can be included in your templates. They can be inserted in JavaScript, Jinja templates or inside another partial. Any entity used in them will make the template in which the partial is inserted to be reevaluated when the entity changes its state, so it is not recommended to use a bloated partial using multiple entities that have no context with each other because that will provoke that the templates in which that partial is used gets reevaluated when any of the entities used in it change.
📄️ Extendable configurations
Extendable configurations (extendableconfigs) is an object containing different configurations options that could be extended from the root configuration, from the Exceptions or from another extendable configuration, making them a very flexible option to share configuration blocks. To specify that a configuration should extend from an extendable configuration, the extendfrom option should be used specifying the extendable configuration name(s).