Comparing versions 2 and 3.
HtmlInfotron
This simple blueprint accepts any string on its input terinal and the associated handler function sets innerHTML on the infotrons DOM node to the contents of the message.
Sample Declaration
<div id="alerter"
impl="~01A08F0900C9364429BB78BBC03401C3BE"
script="http://localhost/Html.js">
</div>
## Dependencies
+ N/A
## Input Terminals
+
BLUEPRINT(
"~01A08F0900C9364429BB78BBC03401C3BE",
[
["html_in", "onHtml", 10]
],
[],
function (Class)
{
Class.prototype.onHtml = function(msg) {
this.dom_node.innerHTML = msg;
}
}, "HTML View");