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