0.4.0 • Published 9 years ago

bacon-dom v0.4.0

Weekly downloads
2
License
Apache-2.0
Repository
github
Last release
9 years ago

Build Status

Usage

Create a stream of virtual-dom HTML trees, attach them to a real node.

var Bacon = require("baconjs");
var h = require("virtual-dom/h")
var attach = require("bacon-dom");
 
var ticks = Bacon.interval(1000, 1);
var count = ticks.scan(0, function(sum, newValue) { sum + 1 } );
var html = count.changes().map( function(n) { h('.count', [String(n)]) } );
 
attach(html).to(document.body);

Typescript

Get a definitely typed compatible definition file from src/definitelyTyped.

Dev

  • Build with npm run build
  • Test once with npm test
  • Run tests with watch using ./node_modules/.bin/karma start
0.4.0

9 years ago

0.2.0

9 years ago

0.1.10

9 years ago

0.1.8

9 years ago

0.1.6

9 years ago

0.1.5

9 years ago

0.1.4

9 years ago

0.1.3

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago

0.0.1

9 years ago