STCK

Simple two-way data binding for HTML/JavaScript

View project on GitHub

Super Messy Demo

View the source or view demo.html in the repository to see how it works.

Also, open the console and try this:

stck.type = 'auto';

stck.type = 'manual';

...and watch the magic happen.

Radio Binding

Automatic or manual?

Simple div

Input

Input with change event

Select Binding

stck-click event

stck-focus event

stck-click call other function

Textarea Binding

stck-if Expressions

Auto
Manual

Depth properties

deep.dims.depth

deep.dims.width

Repeating group

repeating

Index: Name:

stck-if with JS expression

Random