HtmlInfotron

This simple blueprint accepts any string on its input terminal 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

  • html_in
    • expected message type: any text or html markup.

Output Terminals

  • none

Properties

  • none

Demos that use it

  • N/A

How does it work?

It just chucks any incoming message as innerHTML on the node where it is defined. It had better be HTML, or at least text.

No comments yet. post a comment >