APNG Class

Dinamically inserted IMG element

useNative: false, endless: false, frames: 12, property: src, interval: 100

Pre-existing IMG element

Spinner

useNative: false, endless: true, frames: 12, property: src, interval: 100

Pre-existing DIV element

useNative: false, endless: true, frames: 12, property: background-image, interval: 100

Pre-existing DIV element (single image), with per-frame intervals

useNative: false, endless: true, frames: 12, property: background-position, axis: x, interval: [100, 90, 80, 70, 60, 50, 40, 30, 20, 10]

background image:

Spinner