pynetworktables2js icon indicating copy to clipboard operation
pynetworktables2js copied to clipboard

Add bootstrap-like javascript helpers

Open virtuald opened this issue 9 years ago • 2 comments

Ideally, should be able to assign a class and a data attribute indicating the NetworkTables key, and the HTML object will transmit/respond based on NetworkTables events. For example, something like a toggle button:

<button data-nt="/SmartDashboard/foo" data-type="toggle" />

.. or something like this. A lot of the UI elements should be buildable without requiring any explicit javascript, to make it simpler to add/extend the UI.

virtuald avatar Apr 04 '15 02:04 virtuald