PHP code example of algsupport / yii2-jui

1. Go to this page and download the library: Download algsupport/yii2-jui 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/ */

    

algsupport / yii2-jui example snippets


<?= yii\jui\DatePicker::widget(['name' => 'attributeName']) 

<?= yii\jui\DatePicker::widget(['name' => 'attributeName', 'clientOptions' => ['defaultDate' => '2014-01-01']]) 

<?= $form->field($model,'attributeName')->widget(DatePicker::className(),['clientOptions' => ['defaultDate' => '2014-01-01']])