SkillAgentSearch skills...

Inflickity

Never-ending drag n' flick content

Install / Use

/learn @nclud/Inflickity
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Inflickity

Flick and swipe forever.

See demo nclud.github.com/inflickity

Custom widget created for nclud.com v3.

var myFlickity = new Inflickity( elem, {
  // options
  // you can overwrite these defaults as you like
  clones: 1,
  friction: 0.03,
  maxContactPoints: 3,
  offsetAngle: 0,
  onClick: undefined,
  animationDuration: 400,
  // basically jQuery swing
  easing: function( progress, n, firstNum, diff ) {
    return ( ( -Math.cos( progress * Math.PI ) / 2 ) + 0.5 ) * diff + firstNum;
  }
});

Requires

Clone from GitHub

Don't forget to update/init submodules to get the requestAnimationFrame polyfill

git clone https://github.com/nclud/inflickity.git
cd inflickity
git submodule update --init
View on GitHub
GitHub Stars84
CategoryContent
Updated9mo ago
Forks3

Languages

JavaScript

Security Score

72/100

Audited on Jun 14, 2025

No findings