Skip to content

Settings

SleekMotion keeps its settings in these WordPress options, declared in its API contract’s storage description. Change them through the product’s screens, its settings operations or WP-CLI rather than writing the options directly.

Options

Option Stored as What it holds
sleek-motion_settings option The Settings document.

Settings fields

The fields of the Settings model the settings operations read and save.

Field Type Description
breakpoints Breakpoint[] Named media queries an animation selects with @<name>:. A name is letters, digits and underscores.
className string The class prefix that marks animation classes; empty means animate.
dataAttribute string The attribute that holds animations; empty means data-animate.
defaultBreakpoint string The media query for animations without a breakpoint; empty means (min-width: 1px), which always matches.
defaults object tl holds options for every timeline, including the one Motion creates for each animated element; element holds animation parts every animated element starts from, which its own parts override.
editor object enable also loads Motion in the block editor and in the Bricks, Elementor, Oxygen and Beaver Builder previews.
javascriptEvent string An event on document Motion waits for before it starts; empty starts it as soon as its script loads.
license object Present on a read while the license is valid; never stored.
presets NamedValue[] Named animation strings an element adds with preset-<name>.
reducedMotion boolean Whether visitors whose system asks for reduced motion see each animation’s end state instead of the animation.

Stay in the Loop!  

Be the first to hear about new updates, special offers, and helpful tips, delivered straight to your inbox.

We respect your inbox (and your privacy). Read our privacy policy.