Basic usage

Based on offset of the element in DOM.
View Demo

Static offset

Based on pre-defined static offset.
View Demo

Dynamic offset

Use function to calculate offset.
View Demo

Handle instance

Check state & run callbacks manually.
View Demo