An abstract Element class used to wrap Svelte apps. It automatically creates descriptors for Svelte app properties, methods, and events on the custom element.

Properties

animations

animations: 

Toggle animation on/off.

element.animations = "never";

springConfig

springConfig: 

Set default Spring configuration to use

element.springConfig = {
  stiffness: 0.1,
  damping: 0.495,
  precision: 0.001,
};