ButtonInfotron

History Key

  • New content
  • Removed content

Recent Versions

Choose two versions to compare, or click the link to view it.

  1. 19. about 5 years by xexamedes
  2. 18. about 5 years by xexamedes
  3. 17. about 5 years by xexamedes
  4. 16. about 5 years by xexamedes
  5. 15. about 5 years by slim
  6. 14. about 5 years by slim
  7. 13. about 5 years by slim
  8. 12. about 5 years by slim
  9. 11. about 5 years by slim
  10. 10. about 5 years by slim
  11. 9. about 5 years by slim
  12. 8. about 5 years by slim
  13. 7. about 5 years by slim
  14. 6. about 5 years by xexamedes
  15. 5. about 5 years by xexamedes
  16. 4. over 5 years by xexamedes
  17. 3. over 5 years by xexamedes
  18. 2. over 5 years by xexamedes
  19. 1. over 5 years by xexamedes
 

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".