Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add bootstrap-like javascript helpers #2

Open
virtuald opened this issue Apr 4, 2015 · 2 comments
Open

Add bootstrap-like javascript helpers #2

virtuald opened this issue Apr 4, 2015 · 2 comments

Comments

@virtuald
Copy link
Member

virtuald commented Apr 4, 2015

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
Copy link
Member Author

Another useful control would be a slider, such as @amorygalili has for the websim.

@virtuald
Copy link
Member Author

The TableViewer app (see #10) could utilize these automatically.

virtuald pushed a commit that referenced this issue Apr 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant