gist-094457c3f3d54f5d1779.0
code:
https://gist.github.com/maxxflyer/094457c3f3d54f5d1779
GISTLIST
A list full of Sensors addresses you can easy inject
gistlist-49d3c6791b5db968acec
https://gist.github.com/maxxflyer/49d3c6791b5db968acec
Read more at Lists and MainList ( important ! )
HALLO WORLD BOARD and CONTROL-ROCKS CONTROL
gist-d4b40410e16cd0391921.0
http://protobot.xyz/display/?c=gist-d4b40410e16cd0391921.0
http://protobot.xyz/display/?s=gist-d4b40410e16cd0391921.0
http://protobot.xyz/display/?c=gist-d4b40410e16cd0391921.0&s=gist-d4b40410e16cd0391921.0
code:
https://gist.github.com/maxxflyer/d4b40410e16cd0391921
Alert Button Sensor
Loads a simple empty sensor with a button. Click the button and trigger an alert.
http://cryptosensor.overgrid.com/display.html?&s=5-SyIHS
find the file at:
https://paste.ee/p/SyIHS
Note how to trigger the click:
- $(document).on("click", '#alert_button', function(){
- alert("alert!");
- });
Using a conventional method such as:
- $('#alert_button').click( function(){
- alert("alert!");
- });
A Sensor Forcing the creation of its own control panel
http://cryptosensor.overgrid.com/display.html?&s=5-ltKA1&c=e
In this example the Console is empty.
The module forces the creation of its own control panel.
(it can be a problem if you want many instances of the module but only one instance of the control panel, of course it depends by the project)
A good module contains its own control panel, used to create more instances of the same module inside Display.