-
Notifications
You must be signed in to change notification settings - Fork 0
Adam Griffiths edited this page Mar 13, 2013
·
1 revision
d3v!
d3v (Data Driven Document Views) is inspired by, and founded on, d3 (Data Driven Documents).
It is designed to handle, and transition between, multiple different views of data.
- A View
A HTML, SVG or any XML view is built like this:
view .elem("p") .atrr("alt","message") .text("hello");
Which would render as:
hello
view .elem("div") .elem("h1") .text("Message"); .elem("p") .atrr("alt","message") .text("hello");
Rendered as