uran1980/yii2-scroll-to-top Scroll-to-top button widget for Yii2

widgetsscrolltotop

Yii2 ScrollToTop button widget

Based on scrollToTop jQuery plugin.

screen-01

Installation

Composer

The preferred way to install this extension is through Composer.

Either run

php composer.phar require uran1980/yii2-scroll-to-top "dev-master"

or add

"uran1980/yii2-scroll-to-top": "dev-master"

to the require section of your composer.json

Usage

To activate this widget on all pages add this line to you project main layout ...\frontend\views\layouts\main.php before Yii endBody() block:

<?php echo uran1980\yii\widgets\scrollToTop\ScrollToTop::widget(); ?>

Author

Ivan Yakovlev, e-mail: uran1980@gmail.com

Statistics

Downloads
GitHub Stars
GitHub Forks

Releases

Comments



0.0.2 is the latest of 2 releases



MIT license
Stats
2 github stars & 1 github forks
0 downloads in the last day
0 downloads in the last 30 days
2751 total downloads