0.0.12 • Published 8 years ago

tosser v0.0.12

Weekly downloads
13
License
MIT
Repository
github
Last release
8 years ago

Tosser

Send your messages from one frame to the other using a simple API which give you ack/nack support.

Trebuchet

Much thanks to Mike Kruger for letting me open source this portion of code created while building https://www.nsyrt.com/

API

  • trigger (type, content = '', callback)
  • broadcast (type, content = '', callback)
  • sendToParent (type, content = '', callback = function () {})
  • sendToChildren (type, content = '', callback = function () {})
  • sendToWindow (type, content = '', targetWindow, callback = function () {})
  • once (type, callback)
  • on (type, callback)
0.0.12

8 years ago

0.0.11

8 years ago

0.0.10

8 years ago

0.0.8

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago