Custom event/messaging system for TypeScript.
Converted from JS-Signals which was inspired by AS3-Signals.
For a more in-depth introduction read the JS-Signals Project Page and visit the links below.
Copy the Signal.ts
and SignalBinding.ts
files into your TypeScript project.
If you wish you can place them inside a module, but by default they are set to global classes.
Reference the Signal.ts
file in your code and then use them as normal. Look at the tests provided in the tests
folder for plenty examples of use, or read the JS-Signals documentation.
|-src -> source files
|-tests -> unit tests
The tests are stand-alone TypeScript classes that map to the tests created for JS-Signals.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。