stimulus-use icon indicating copy to clipboard operation
stimulus-use copied to clipboard

A collection of composable behaviors for your Stimulus Controllers

Results 82 stimulus-use issues
Sort by recently updated
recently updated
newest added

Allow use of window.requestIdleCallback()` APIs easily in controllers. Resolves #209

Why not introduce `useRequestIdleCallback` to use [`window.requestIdleCallback()`](https://developer.mozilla.org/en-US/docs/Web/API/Window/requestIdleCallback) easily in controllers? > Queues a function to be called during a browser's idle periods. This enables developers to perform background and low...

Since Stimulus now got a `dispatch()` function built-in (see: https://github.com/hotwired/stimulus/pull/302) we should think about deprecating (and later removing) the `useDispatch()` mixin from Stimulus Use. While it's still handy to have...

enhancement
good first issue

Hi again! I've noticed what is, probably, just a missing spot in the docs for the new `useTransition`. Suppose that you have an element that *starts* in a visible state...

Hi again! I was trying to use the `transition` behavior's controller class directly today without writing any custom JavaScript. It is, of course, totally possible to do this :). Except...

Hi all, I got an error when using useTransition, below is error's screenshots and codes, pls help me. package.json ``` "dependencies": { "@rails/actioncable": "^6.0.0", "@rails/activestorage": "^6.0.0", "@rails/ujs": "^6.0.0", "@rails/webpacker": "5.4.0",...

I'm currently using hotwire (turbo and stimulus). I'm using useTransition with the default options to show/hide a dropdown as part of the page layout and it has its own controller....

Hi! I'm just starting to use `stimulus-use` and it's great! Thanks for your work. I've found myself with an issue with `useTransition` and the `transitioned` state. This state is being...

For example, let's suppose we have to forms on the same page, each one attached to a controller that registers the same hotkey for both, when one of those forms...