Comments (7)
Not something I've had much experience with actually. @cstns anything like this crossed your desk before?
from node-red-dashboard.
Haven't worked with gestures that much I'm afraid, but I'm familiar with the vueuse library and see no harm in using it.
from node-red-dashboard.
That Vue UseGesture library is not maintained anymore the last 3 years, so might not be my best choice for a new ui node ;-(
from node-red-dashboard.
From this StackOverflow discussion I understand that VueJs supports all these mouse and touch events out of the box, but that you need to use Vue UseGesture for special things like dragging, swiping, ... So I assume I cannot do stuff like panning, zooming, ... with VueJs out of the box?
from node-red-dashboard.
At the moment I think that the Vueuse is the best option at the moment.
Because their Github repo has quite some impressive statistics:
- 18.7K stars
- 2.4K fors
- 272 releases
- used by 177K applications
- 614 contributors
That same group offers a well maintained library @vueuse.gesture for all kind of interactivity.
From their getting started page I assume that this gestureplugin needs to be loaded by the Flowfuse dashboard (i.e. not by my own svg ui node?) in the main.mjs file. Can anybody confirm whether that is correct?
Would be nice to get some thoughts about this. And whether such a proposal (to load this plugin by the flowfuse dashboard) would be accepted or not? Not sure whether other ui nodes could benefit from this feature. Otherwise I need to look for another solution...
About the size of the gesture library. I see this in their dist folder:
Note that I have not tested any of this at the moment.
from node-red-dashboard.
I assume that this gestureplugin needs to be loaded by the Flowfuse dashboard (i.e. not by my own svg ui node?)
I think I was talking nononse, because I have also my own main.js file where an app is created. So I assume I need to load my own plugin(s) ...
from node-red-dashboard.
I have also my own main.js file where an app is created. So I assume I need to load my own plugin(s)
Talking nononse again, when looking at the default comment in my main.js file:
Will pause this feature, until somebody with Vue knowledge jumps in.
from node-red-dashboard.
Related Issues (20)
- 'Widget load' event triggered only when there is data for the node in the Node-red datastore HOT 1
- Add new Teleport for app-bar-title HOT 2
- ui-template: template is not rendered until content is sent HOT 5
- DB2 \ Layout \ Pages keeps resetting to expanded view. HOT 3
- Include VSparkline for use in ui-template HOT 4
- ui-table: add inital Row setting to Items per page dropdown HOT 2
- ui-table: possibility to hide array values that are displayed HOT 3
- Add a way to move a group to other page using "UI Control" node .
- Dashboard does not reconnect if network is down for a significant time. HOT 1
- Ditch the Connection Re-established popup! HOT 7
- After multiple/quick dashboard reload top-bar and side-bar disappear HOT 5
- Form - Add option to allow Drop Down as an element HOT 1
- Form - Allow the Form elements to be sized similar group sizing.
- The presence of a v-switch in a ui-template affects the positioning of core ui-switch node
- PWA feature - problem with Google Oauth authentication (and probably other similar systems) HOT 45
- Radio button group: programatic setting does not work anymore HOT 18
- Add "development" NODE_ENV option for build HOT 4
- Add a way to pass parameters to a page HOT 3
- No Longer possible to change the "favicon" HOT 19
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-red-dashboard.