node-red-contrib-helloworld-button 0.0.1

example of node with button.

npm install node-red-contrib-helloworld-button

This is example of node with button.

install

npm install node-red-contrib-helloworld-button

Features

1. helloworld-button

This is similar to injection node. When button is pushed, this node send out message of "helloworld".

explanation

"helloworld-button.html" sends trigger of button by ajax. "helloworld-button.js" receives REST message from html.

2. helloworld-button2

This is similar to debug node. When button is active, node send "hello world2" every one second. But button is not hidden in disable like debug.

explanation

"helloworld-button2.html" sends state of button by REST API. "helloworld-button2.js" receives the state of button.

Node Info

Version: 0.0.1
Updated 7 years, 2 months ago
License: Apache-2.0
Rating: not yet rated

Actions

Rate:

Downloads

0 in the last week

Nodes

  • helloworld-button
  • helloworld-button2

Keywords

  • node-red
  • button

Maintainers