Changed 'emit' functions in Area,Line, and Radar chart to 'dispatch' to work with Livewire 3

This commit is contained in:
Lewis Raggett
2023-10-05 11:41:49 +01:00
parent ca044277ee
commit 4c70acd41c
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()