Skip to content

hachibeeDI/RxJS-haxe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RxJS-haxe

How to install

  haxelib git RxJS https://github.com/hachibeeDI/RxJS-haxe.git

add your .hxml

-lib RxJS

Usage

import rx.Observable;

// ATTENTION: static methods are all in `ObservableStatic` class.
var ob: Observable<js.html.Event> = ObservableStatic.fromEvent(null, "keyup");

Notes

Reccomend to use above 3.2 . Because old version Haxe could not use reserved word (ex: catch, try……).

If you want to call some methods named Haxe's reserved words, add the _ at the end.

example

from

// Haxe
ob.catch_(function(x) {return null;});

to

// JavaScript
ob1["catch"](function(x) {return null;});

LICENCE

MIT

About

RxJS extern for Haxe

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages