Skip to content

Fatina v3.0

Compare
Choose a tag to compare
@kefniark kefniark released this 03 Oct 13:51
· 10 commits to master since this release
9c37002

Description

New Feature / Improvements:

  • Display version number in browser
    image
  • Embed version number in build file as comment
    image
  • Add npm run dev to easily test samples and make dev easier
  • update .yoyo() to handle infinite loop (.yoyo(-1))
  • Add presets (demo):
    • Wobble
    • Scale
    • Sonar
    • Pulse
    • Shake

API change (breaking change):

  • Now use export default to have better auto-completion and support for ESM module & Typescript
// TS / ESM import
import * as Fatina from 'fatina';
// become simpler =>
import Fatina from 'fatina';

// Node require
var Fatina = require('fatina');
// become slightly longer =>
var Fatina = require('fatina').default;

Bug Fixes:

  • fix .d.ts declaration files

Enjoy

And as usual check the website for more information
Fatina