An open API service indexing awesome lists of open source software.

https://github.com/stimulusreflex/stimulus_reflex_activity

Simple activity indicator for StimulusReflex (for Turbo/Turbolinks-enabled applications)
https://github.com/stimulusreflex/stimulus_reflex_activity

Last synced: about 1 year ago
JSON representation

Simple activity indicator for StimulusReflex (for Turbo/Turbolinks-enabled applications)

Awesome Lists containing this project

README

          

# StimulusReflex Activity Indicator

Uses the Turbo(links) progress bar to display activity while morphing.

https://user-images.githubusercontent.com/4352208/126767394-e0fcefb5-3ac4-484e-bec2-c585e8f5bbc7.mp4

## Installation

Install my-project with npm

```bash
$ yarn add @stimulus_reflex/activity
```

In your (for example) `app/javascripts/packs/application.js` do:
```javascript
import "@stimulus_reflex/activity"
```

## Usage/Examples

The progress indicator is opt-in on a per-element basis. To activate it, add `data-reflex-display-progress` to your reflex element's dataset:

```html

```

## Authors

- [@julianrubisch](https://www.github.com/julianrubisch)


## License

[MIT](https://choosealicense.com/licenses/mit/)