Duolith docs

Errors E0200 to E0299

E0245 Motion written as an expression

Message motion must be written as text

Why

An element's motion preset is fixed when the page is built, so each target can prepare its movement; it is written as text, such as motion="slide-up".

How to fix it

Write the preset as text, or use a show to pick between elements with different presets.

In a terminal

duolith explain E0245

Mentioned in