PHP code example of panix / wgt-callback
1. Go to this page and download the library: Download panix/wgt-callback 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/ */
panix / wgt-callback example snippets
php composer
'controllerMap' => [
'callback' => 'panix\ext\callback\CallbackController',
],
echo \panix\ext\callback\CallbackWidget::widget([
'id' => 'callback-modal',
'size' => 'modal-dialog-centered modal-dialog-scrollable',
'toggleButton' => false,
// modal options
]);
echo Html::button('Callback', ['data-toggle' => 'modal','data-target' => '#callback-modal']);