pavlinter / yii2-sticky-footer
Yii2: Sticky Footer
Package info
github.com/pavlinter/yii2-sticky-footer
Type:yii2-extension
pkg:composer/pavlinter/yii2-sticky-footer
v1.0.0
2015-02-19 10:00 UTC
Requires
- yiisoft/yii2: *
This package is not auto-updated.
Last update: 2026-03-14 23:50:40 UTC
README
Widget for jQuery.stickyFooter script
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist pavlinter/yii2-sticky-footer "dev-master"
or add
"pavlinter/yii2-sticky-footer": "dev-master"
to the require section of your composer.json file.
Usage
<?php \pavlinter\stickyFooter\StickyFooter::begin(['id' => 'myFooter','contentSelector' => "#wrapper"]) ?> <div id="footer"> footer </div> <?php \pavlinter\stickyFooter\StickyFooter::end() ?>