Code Monkey home page Code Monkey logo

Comments (7)

yonicd avatar yonicd commented on June 5, 2024

Not quite following, but images in carousel are read from disk (be it persistent or tempfile).

what do you mean by clickable?

What you may mean is having the carousel observable in shiny?

from slickr.

dockstreet avatar dockstreet commented on June 5, 2024

Thanks for the quick response!
I was wondering if the carousel could read a blob/raw image from a data frame for display.

Then perhaps be able to click on the image to drive another shiny control such as used as input to a visNetwork graph to serve as running history, maybe using https://rstudio.github.io/crosstalk/ or make it observable?
In other words - slickR would be used to present a thumbnail running history of plots sourced from a data frame then the user could click on previous plot to redraw it by calling the other htmlwidget, in this case visNetwork

from slickr.

yonicd avatar yonicd commented on June 5, 2024

the first part is already possible, see the plots section of the rendered examples.

The second part I can add some observers for shiny to pick up.

from slickr.

yonicd avatar yonicd commented on June 5, 2024

i added an observer for shiny to show the current active slider and the index of the active object in it. you can see how to use it in this example

from slickr.

dockstreet avatar dockstreet commented on June 5, 2024

Great work! looks promising for what I want to try out, does it only work in Chrome? I couldn't get it work in IE, not sure if IE has an SVG limitation or not.

from slickr.

yonicd avatar yonicd commented on June 5, 2024

no problem. i just pushed another update to add more observers. that should give you more than enough info to use the slider as a reactive object.

I havent tested this on IE, but no one has raised an issue for it as of yet.

from slickr.

dockstreet avatar dockstreet commented on June 5, 2024

so the more observers seems to work, I think there is an issue in IE however? I'll close this and raise it there; thanks again!!!!

from slickr.

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.