PHP code example of wonail / yii2-widget-scrolltop

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

    

wonail / yii2-widget-scrolltop example snippets


<?= \wonail\scrolltop\ScrollTop::widget([
    'btnColor' => 'btn-success',
    'options' => [
        'style' => [
            'bottom' => '50px'
        ]
    ]
]) 

php composer.phar