lz-reactive

The attribute lz-reactive is the fundamental attribute for reactivity in Leeze.js. It tells the library to treat that element as a reactive element, enabling support for all other attributes and functions.

<p lz-reactive></p>

This basic HTML tells Leeze.js to treat the element as reactive but make no mistake: only using lz-reactive is not enough. You can choose to use either lz-bucket or lz-source to specify a variable or element to use as the source of reactivity.