PHP code example of moonlandsoft / autogrow

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

    

moonlandsoft / autogrow example snippets


<?= Autogrow::widget(['selector' => '.text-area-grow']); 

<?= Autogrow::widget(['selector' => '.text-area-grow', 'functionName' => 'makeTextAutogrow']); 

<?= $form->field($model, 'attribute')->widget(AutogrowInput::className(), ['options' => ['class' => 'form-control']]); 

php composer.phar