Ask A Question

Notifications

You’re not receiving notifications from this thread.

How do I render a (Stimulus) modal without user interaction?

Jeff Helman asked in Javascript

When a data value in my view meets certain criteria (e.g.: "< 0"), I want to render a modal (which is configured using Stimulus).

I know this is a noobish question, but I'm not finding obvious answers in my Googling/SO spelunking.

Reply

Many thanks, Eelco!

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 85,972+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.