0.0.12 • Published 10 years ago

tosser v0.0.12

Weekly downloads
13
License
MIT
Repository
github
Last release
10 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

10 years ago

0.0.11

10 years ago

0.0.10

10 years ago

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago