We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have a chart that takes time to appear due to lots of datas. I want to add a loading-spinner during this time of loading.
I try to use the wire:loading directive of livewire but it seems that it doesn't work on an entire component.
I try some things like : <div style="height:32rem" wire:loading> <div class="loader">Loading...</div> </div> <div style="height:32rem" wire:loading.remove> <livewire:livewire-column-chart key="{{ $columnChartModel->reactiveKey() }}" :column-chart-model="$columnChartModel" /> </div>
<div style="height:32rem" wire:loading> <div class="loader">Loading...</div> </div> <div style="height:32rem" wire:loading.remove> <livewire:livewire-column-chart key="{{ $columnChartModel->reactiveKey() }}" :column-chart-model="$columnChartModel" /> </div>
or
<div style="height:32rem"> <livewire:livewire-column-chart key="{{ $columnChartModel->reactiveKey() }}" :column-chart-model="$columnChartModel" /> <p wire:loading wire:model="column-chart-model">Loading...</p> </div>
with no success.
Is there a way to use this wire:loading or another way specific to livewire-charts maybe?
Despite my searches I couldn't find any answers.
The text was updated successfully, but these errors were encountered:
Are you using livewire 3?
Sorry, something went wrong.
No branches or pull requests
Summary
I have a chart that takes time to appear due to lots of datas. I want to add a loading-spinner during this time of loading.
I try to use the wire:loading directive of livewire but it seems that it doesn't work on an entire component.
I try some things like :
<div style="height:32rem" wire:loading> <div class="loader">Loading...</div> </div> <div style="height:32rem" wire:loading.remove> <livewire:livewire-column-chart key="{{ $columnChartModel->reactiveKey() }}" :column-chart-model="$columnChartModel" /> </div>
or
<div style="height:32rem"> <livewire:livewire-column-chart key="{{ $columnChartModel->reactiveKey() }}" :column-chart-model="$columnChartModel" /> <p wire:loading wire:model="column-chart-model">Loading...</p> </div>
with no success.
Is there a way to use this wire:loading or another way specific to livewire-charts maybe?
Despite my searches I couldn't find any answers.
The text was updated successfully, but these errors were encountered: