0.4.0 • Published 10 years ago

bacon-dom v0.4.0

Weekly downloads
2
License
Apache-2.0
Repository
github
Last release
10 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

10 years ago

0.2.0

10 years ago

0.1.10

10 years ago

0.1.8

10 years ago

0.1.6

10 years ago

0.1.5

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago

0.0.1

10 years ago