Skip to content

2.16.0

No due date 91% complete

The following features and fixes are currently on the branch and can be tried out, at your leisure, prior to official release.

NEW FEATURE: New {:style} syntax for getting an inline style property value. Eg. "$myColour: {:color};" or console-log: "colour set is: {:color}";
NEW FEATURE: New {::style} syntax for getting a getComputedStyle property value. Eg…

The following features and fixes are currently on the branch and can be tried out, at your leisure, prior to official release.

NEW FEATURE: New {:style} syntax for getting an inline style property value. Eg. "$myColour: {:color};" or console-log: "colour set is: {:color}";
NEW FEATURE: New {::style} syntax for getting a getComputedStyle property value. Eg. "$myWidth: {::width};" or console-log: "width is now: {::width}";
NEW FEATURE: "after" and "every" now available on target selectors.
NEW FEATURE: New "if-visible-x" and "if-visible-y" conditional pseudo-selectors.
NEW FEATURE: New "open" command to mirror JS equivalent.
NEW FEATURE: New "if-has-attribute"/"has-attribute" conditional.
NEW FEATURE: New mimic-into-html command.
NEW FEATURE: Support for asterisk wildcards (*) in @pages route parameters.
NEW FEATURE: &:connectedCallback, &:disconnectedCallback and &:attrChange events for custom element components.
NEW FEATURE: A reactive variable for a value attribute will now update the property instead of the attribute.
NEW FEATURE: Allow variable substitution (except $RAND) in dynamic css variable names. For example: "--color_id_{$dataRef}: {@data-col};".
BUG FIX: Fix to evaluate attribute variables in JS expressions.
BUG FIX: Fix to error with proxy variable handling in conditional statements, which was stopping access to user object properties.
BUG FIX: Fix to allow curlies in JS regex expressions
BUG FIX: Fix to handling escaped double-quotes in run command.
BUG FIX: Skip performing actions on the internal SPA routing object if there are elements that match on the page.
BUG FIX: Allow "o.e" as an available variable in conditional statements.
BUG FIX: Fix to a rare occurrence of action commands not running due to a missing target element.
BUG FIX: Fix to a sometimes occurring undef error with event on a shadow dom element.
BREAKING CHANGE: Support for the old style variable without a "$" prefix has finally been removed after a long-term deprecation period. If you have not yet switched to the new type, please do so - it is a lot simpler and more flexible to work with.

Loading