1. Go to this page and download the library: Download ysz/lw-range-slider library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
namespace App\Http\Livewire;
use Livewire\Component;
use YsZ\LwRangeSlider\Contracts\CanFireEvents;
class AvailableUnits extends Component
{
use CanFireEvents;
public function updated($name, $value)
{
$this->firePriceRangeChangedEvent(min: 80, max: 150, minRange: 100, maxRange: 200);
}
}
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.