njxqlus / filament-progressbar

This Filament component shows a progress bar at the top of the page when we navigate from one page to another

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

manually triggering the progress bar with wire:loading

atmonshi opened this issue · comments

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

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.

I see, thank you for the clarification :)