GithubHelp home page GithubHelp logo

Multiple Idles about idle-vue HOT 6 OPEN

soixantecircuits avatar soixantecircuits commented on July 19, 2024 1
Multiple Idles

from idle-vue.

Comments (6)

gabrielstuff avatar gabrielstuff commented on July 19, 2024

Hello @chanr32. Do you mean something like multiple instance of vue-idle ? for getting event related to idle in 1minutes / 2 minutes / etc ?

from idle-vue.

piyushbeli avatar piyushbeli commented on July 19, 2024

@gabrielstuff Yes. I also need this and exactly what you said.

from idle-vue.

gabrielstuff avatar gabrielstuff commented on July 19, 2024

Hello,
If anyone want / need this, I'll be glad to help.
The idea I guess would be to define one idle which listen to mouse event and one other idle which depends on touch event ?

If anyone can provide, real life example. I'll be grateful.

Thanks

from idle-vue.

piyushbeli avatar piyushbeli commented on July 19, 2024

@gabrielstuff , There could be plenty of real-life examples. Let say we want to log out the user after 10 mins of inactivity (which is a very common use case).
Now in the same application let say we want to show a help popup after a user is idle on a page for 2 mins.

from idle-vue.

gabrielstuff avatar gabrielstuff commented on July 19, 2024

from idle-vue.

bi6o avatar bi6o commented on July 19, 2024

Hi, I am also wondering if it's possible to have multiple idle time listeners or a way to bind idle-vue to a component instead of the main app? or perhaps both?

from idle-vue.

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.