properties
changelog

Animation Play State

Control animation state transitions and pauses.

Usage:

  • @animate state-*;
  • @animate state-paused;
  • @animate state-playing;

Reference

shilp.config.js
const shilpConfig = {
	source: "react",

	properties: {
		animate: {
			state: {
				property: "animation-play-state: <v><i>;",
				values: {
					paused: "paused",
					playing: "running",
				},
			},
		},
	},
};

export default shilpConfig;