reak
0.0.5 • Public • Published Reak
Functional IO wrapper class about DOM FrameWork
This Project was migrated of Dominot.
ex:
class MyReak extends this.Reak{
constructor () {
super();
this
.is({
after: "bye reak",
widget: {div: {
$: [
{p : {
$: "hello reak",
css: {
fontSize: "1em",
width: "62%",
textAlign: "center",
margin: "auto"
}
}},
{button: {
$: "click me",
on: "click"
}}
]
}
}
})
.show();
}
click (e) {
console.log(this);
this
.off("click")
.widget.children[0]["<"]({now: this.after});
}
}
let myReak = new MyReak();
Package Sidebar
Install
Weekly Downloads