Package Exports
- @fireflysemantics/ease
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@fireflysemantics/ease) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@fireflysemantics/ease
Animation easing functions written typescript.
Installation
npm i @fireflysemantics/easeUsage
TypeScript
import { linearEase } from '@fireflysemantics/ease';
let result:number = linearEase(10,10,100,100);
console.log("The linear ease value is: ", result);Javascript
let Ease = require('@fireflysemantics/ease').Ease;
let result:number = Ease.linearEase(10,10,100,100);
console.log("The linear ease value is: ", result);Test
npm run testTypedoc
From the root project directory run typedoc to generate the code documenation
npm i
npm run doc
npm i -g http-server
http-server docNow open localhost:8080 and the typedoc can be seen.