Comments (7)
Hi,
Indeed, the web service component can be online called from a transition. if you want to load data on page load, this is not optimal. A quick fix is the following:
-
Create a start / splash screen. Maybe at a loading indicator...
-
Add a web service
-
Select the start screen, go to the prototyping view and wire it to the web service.
-
Set timer as the transition trigger. Choose a short value, so the user will not notice...
-
Wire the web service to the real start page...
from quant-ux.
Hi,Thank you for your answer! but I cannot jump to the next screen by using the timer. It takes effect only by clicking
from quant-ux.
When there is a 'web service' component between the screens, I can't jump with the timer
from quant-ux.
Hi,
try setting the value to 0.1 seconds. This works for me. It seems there is a bug that 0 second transitions are not fired.
from quant-ux.
Hi,I tried it and found that timer jump is useful in the simulator, but it doesn't work in real projects, whether it is 0 seconds or 0.1 seconds
from quant-ux.
Hi, in "real projects" you mean vue-low-code? Yes, in there I have not implemented timer triggers. Most likely I cannot fix this in the next days. I am in the middle of porting the software to Vue3. one workaround would be to simply load the the data in the component that uses .
Take a look here:
https://github.com/KlausSchaefers/figma-low-code-todo/blob/master/src/views/Home.vue
I defined an 'onLoad' callback for the screen, in the case the "onHomeLoad" method. This one will do the rest call and add the data to the viewModel which is passed to .
Does this help?
Cheers,
Klaus
from quant-ux.
OK, I see. Thank you very much
from quant-ux.
Related Issues (20)
- Simulator shows blank screen plus QR code HOT 2
- more errors in the browser console HOT 2
- Simulator shows much smaller version of prototype HOT 5
- [Blocker] my local Docker installation stopped working HOT 25
- cannot export project as ZIP file HOT 1
- Data Binding updates not shown
- Improvement Request from Discord
- Add some collaborative note taking HOT 1
- Reset Password Email not getting SiteURL, but instead gets container name in URL HOT 1
- Docker and Nginx Server Setup - Base Route HOT 4
- Figma import is not working in Docker setup HOT 10
- Handle browser previous page action HOT 3
- keycloak-js conflicts with vue router
- Feature request : Render external URL / iFrame and do A/B test, track the analytics / heatmap ? HOT 1
- Question about user notification
- Line space window shift position on click HOT 1
- Applying vertical text align to multiple text elements
- Keep aspect ratio button icon is showing wrong state
- PNG exports - icons are truncated HOT 2
- Bugs
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 quant-ux.