knockout.hx

Knockout extern
https://github.com/nulab/Knockout.hx

To install, run:

haxelib install knockout.hx 3.3.1 

See using Haxelib in Haxelib documentation for more information.

README.md

knockout.hx

knockout.hx is an extern file for Knockout.

Install

haxelib install knockout.hx

How to use

// Create an observable
var observable:Observable<String> = Knockout.observable("hello");

// Writing
observable.set("good by");
// other way
observable << "good by";

// Reading
var value = observable.get();
// Implicit Casts
var value:String = observable;

//Activating
Knockout.applyBindings({prop:observable});

See example: text/Test.hx

Contributors
hakurai
Version
3.3.1
Published
10 years ago
License
Public

All libraries are free

Every month, more than a thousand developers use Haxelib to find, share, and reuse code — and assemble it in powerful new ways. Enjoy Haxe; It is great!

Explore Haxe

Haxe Manual

Haxe Code Cookbook

Haxe API documentation

You can try Haxe in the browser! try.haxe.org

Join us on GitHub!

Haxe is being developed on GitHub. Feel free to contribute or report issues to our projects.

Haxe on GitHub

⌂