UNPKG

xmlplus

Version:

A JavaScript framwork for developing projects efficiently.

14 lines 450 B
xmlplus("xp", function (xp, $_, t) { $_().imports({ Example: { css: "#hello { display: none; }", xml: "<div id='example'>\ <h1 id='hello'>hello, world</h1>\ <button id='button'>show</button>\ </div>", fun: function (sys, items, opts) { sys.button.once("click", sys.hello.show); } } }); });