UNPKG

xmlplus

Version:

A JavaScript framwork for developing projects efficiently.

12 lines 323 B
xmlplus("xp", function (xp, $_, t) { $_().imports({ Example: { xml: "<div id='example'/>", fun: function (sys, items, opts) { this.watch("foo", ()=> console.log("foo")); this.watch("bar", ()=> console.log("bar")); console.log(this.messages()); // ["foo", "bar"] } } }); });