modern-now

Back

Behaviour

Inspired by my library modular behaviour, simply bind js code to html nodes with data-behaviour=name_of_my_func!

Pass config as json or in simple config format in data-behaviour-config. Nodes with data-lazy are initialized when in the viewport.

Demo

Some content here

Countup demo

0000

Scroll below to see lazy countup using data-lazy.

0000