PHP code example of wahdam / livewire-modal
1. Go to this page and download the library: Download wahdam/livewire-modal 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/ */
wahdam / livewire-modal example snippets
Wahdam\LivewireModal\LivewireModal;
public function title()
{
return 'The title for modal';
}
public function content()
{
// view for content modal
return 'livewire.test-modal';
}