2017 © Pedro Peláez
 

yii2-extension yii2-back-to-top-widget

A Yii 2 widget to add back-to-top button.

image

xutl/yii2-back-to-top-widget

A Yii 2 widget to add back-to-top button.

  • Wednesday, October 11, 2017
  • by xutl
  • Repository
  • 0 Watchers
  • 1 Stars
  • 3,344 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 43 % Grown

The README.md

yii2-back-to-top-widget

A Yii2 widget to add back-to-top button. Base on the .animate jQuery function., (*1)

Installation

The preferred way to install this extension is through composer., (*2)

Either run, (*3)

php composer.phar require --prefer-dist xutl/yii2-back-to-top-widget "*"

or add, (*4)

"xutl/yii2-back-to-top-widget": "*"

to the require section of your composer.json file., (*5)

Usage

<?= \xutl\backtop\BackTop::widget() ?>
<?php use xutl\backtop\BackTop; ?>
<?= BackTop::widget([
    'options' => 'custom-css class-name'
]); ?>
<?php use xutl\backtop\BackTop; ?>
<?= BackTop::widget([
    'tagContent' => '<i class="top-icon"></i>',
    'options' => 'custom-css class-name',
]); ?>

The Versions

11/10 2017

dev-master

9999999-dev

A Yii 2 widget to add back-to-top button.

  Sources   Download

MIT

The Requires

 

extension yii2 scroll top back-to-top

11/10 2017

1.0.0

1.0.0.0

A Yii 2 widget to add back-to-top button.

  Sources   Download

MIT

The Requires

 

extension yii2 scroll top back-to-top