GithubHelp home page GithubHelp logo

Comments (7)

KlausSchaefers avatar KlausSchaefers commented on August 16, 2024

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:

  1. Create a start / splash screen. Maybe at a loading indicator...

  2. Add a web service

  3. Select the start screen, go to the prototyping view and wire it to the web service.

  4. Set timer as the transition trigger. Choose a short value, so the user will not notice...

  5. Wire the web service to the real start page...

Quant-UX-Prototype-Test-and-Learn-4-0-23

from quant-ux.

huangbaihei avatar huangbaihei commented on August 16, 2024

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.

huangbaihei avatar huangbaihei commented on August 16, 2024

When there is a 'web service' component between the screens, I can't jump with the timer

from quant-ux.

KlausSchaefers avatar KlausSchaefers commented on August 16, 2024

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.

huangbaihei avatar huangbaihei commented on August 16, 2024

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.

KlausSchaefers avatar KlausSchaefers commented on August 16, 2024

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.

huangbaihei avatar huangbaihei commented on August 16, 2024

OK, I see. Thank you very much

from quant-ux.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.