This demo will show you how to: add multiple Events to an Element, create custom Events and fire an Event.

  • Demo
  • Docs
  • CSS
  • HTML
  • JavaScript

In below textarea you can type whatever. Typing one of listed "Magic Words" will cause Event "burn" to fire and starting an effect (see js code)

Magic Words to type: hello, moo, pizza, burn, delayed (this last one will fire after 1 second).

Documentation References: