


Some variables are used in CSS too, but only true In addition, regardless of the current selection other type settings can be get by a needed key. If the selected type is an image, and the parallax switch is shown in the interface, then the parallax key shows whether parralax is enabled or disabled. The selected type of background is stored in the type key, and the value is in value. The value of the bg variable for the previous example looks this way: In the rest, the nested parameters behave like the autonomous parameters, but they don't require the name attribute. The title attribute assigns a title for the switch. The current choice is denoted by the selected parameter for a corresponding tag. This parameter supports only three background types image, color and video. If the same attribute is set for an image, it means that parallax is enabled. The parallax attribute for the fieldset tag shows the on/off parallax switch. - Using of bitwise-operators, the, operator or void isn't allowed.Īll tags that cannot be interpreted as parameters are ignored.- Creating objects using the new operator isn't allowed.- Using of RegExp with literal notation isn't allowed.- Using of loops, conditionals and exceptions is not allowed.- Square brackets are not allowed - item or even item (it can work in RivetsJS).

- There is a filter support (not maintained?).- A tolerance to non-declared variables: the script does not fail if there is no variable or value.- The context is only local: there are no variables except for the ones declared in the parameters.The expressions are the same as in ECMAScript ( JavaScript), but they have some extra features: The expressions work in interpolation of values, directives and `conditions` within parameters (check the 'Interpolation in attributes' section). position-absolute - a component has an absolute positionĪLERT: The `group` attribute doesn't influence anything at this time and will be used later in the theme exporting.not-draggable - a non draggable component.always-top - a component is placed always on the top.always-bottom - a component is placed always at the bottom.Adjustment of a `params.json` file for a themeĪ components list should be presented in this format:Ī catalog may contain some images, it’s possible to refer to them the ways described below.Ĭomponent attributes are used in a parent element of a template.
