Create a StopMotion instance.
import {createStopMotion} from "@convoyinteractive/factory"
const myStopMotion = createStopMotion("#stop-motion-container", {
start: "random", // 0
speed: 0.5 // 0.2
})| Name | Type |
|---|---|
| items | Array[Element] |
| Name | Parameters | Return |
|---|---|---|
| play | - | void |
| pause | - | void |