Widget for jQuery.stickyFooter script
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.
<?php \pavlinter\stickyFooter\StickyFooter::begin(['id' => 'myFooter','contentSelector' => "#wrapper"]) ?>
<div id="footer">
footer
</div>
<?php \pavlinter\stickyFooter\StickyFooter::end() ?>