njxqlus / filament-progressbar

This Filament component shows a progress bar at the top of the page when we navigate from one page to another
MIT License
19 stars 1 forks source link

manually triggering the progress bar with wire:loading #3

Closed atmonshi closed 11 months ago

atmonshi commented 11 months ago

What happened?

This is not a bug just a question. :)

In customer pages, if I have some actions how can I manually show the progress bar

I have something like this:

<div>

        <div wire:loading>
            loading data...
        </div>

        <form>
            {{ $this->form }}

            <button type="submit">
                Submit
            </button>
        </form>

        <x-filament-actions::modals />
    </div>

How to reproduce the bug

-

Package Version

last

PHP Version

8.2

Laravel Version

10

Which operating systems does with happen with?

No response

Notes

No response

njxqlus commented 11 months ago

This package is the pace.js library. Pacejs is an automatic page load progress bar and showing of the progress bar is controlled by JS. I'm not sure that your request is possible because this package just integrates JS and CSS files with color customization.

atmonshi commented 11 months ago

I see, thank you for the clarification :)