ButtonInfotron

Simple configurable Button Blueprint.

Sample Declaration

<div id="button"
      properties="click_value: 'Thank you for clicking!'"
      script="http://localhost/Button.js">
<button>Click me now!</button>
</div>
## Input Terminals + **enabled\_state_in** + accepts the following message types 1. boolean (Or the strings 'true' or 'false') ## Output Terminals + **click\_value_out** + **enabled\_state_out** ## Properties + **click\_value** ; The message to send when clicked on the output terminal "click\_value\_out" ## Demos that use it + button.html + dynamic_construction.html + lazy\_and\_upfront_loading.html + sticky_note.html ## How does it work? The Button can be configured to send a specific message when pressed, by using the "click\_value" property. Alos, it can be enabled and disabled by sending true or false messages to the input terminal "enabled\_state\_in". The state is then echoed to the output terminal "enabled\_state\_out".


Copyright © 2006–2008 by Assembla, LLC / Phone 1.781.328.2241 / E-mail: info@assembla.com