Merge pull request #105 from redsquirrelstudio/livewire-3-event-fix

Changed 'emit' functions in Area,Line, and Radar chart to 'dispatch' …
This commit is contained in:
Andrés Santibáñez
2023-11-07 14:50:23 -05:00
committed by GitHub
3 changed files with 3 additions and 3 deletions

View File

@@ -26,7 +26,7 @@ class LivewireAreaChart extends Component
return;
}
$this->emit($onPointClickEventName, $point);
$this->dispatch($onPointClickEventName, $point);
}
public function render()

View File

@@ -26,7 +26,7 @@ class LivewireLineChart extends Component
return;
}
$this->emit($onPointClickEventName, $point);
$this->dispatch($onPointClickEventName, $point);
}
public function render()

View File

@@ -26,7 +26,7 @@ class LivewireRadarChart extends Component
return;
}
$this->emit($onPointClickEventName, $point);
$this->dispatch($onPointClickEventName, $point);
}
public function render()