Skip to content
atk edited this page Jun 17, 2011 · 1 revision

Events

tinyjs features a small wrapper for standard DOM Events, allowing to bind and unbind them with ease and flexibility as well as the inclusion of pseudo Events.

Event (un-)binding (t.e, t().e)

This can either be called from the Methods or directly.

Event handler

The Event handler is stored in t.e.h and features some tiny normalisation for keyboard and mouse input.

Document-Ready

The document.ready is included as pseudo Event.

Clone this wiki locally