conquer/slimscroll

Yii2 slimscroll widget

Installs: 4 058

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 1

Open Issues: 0

Type:yii2-extension

2.0 2015-09-02 13:40 UTC

This package is auto-updated.

Last update: 2024-10-24 04:52:12 UTC


README

Description

SlimScroll is a small (4.6KB) jQuery plugin that transforms any div into a scrollable area with a nice scrollbar - similar to the one Facebook and Google started using in their products recently. slimScroll doesn't occupy any visual space as it only appears on a user initiated mouse-over. User can drag the scrollbar or use mouse-wheel to change the scroll value. For more information please visit SlimScroll

Installation

The preferred way to install this extension is through composer.

To install, either run

$ php composer.phar require conquer/slimscroll "*"

or add

"conquer/slimscroll": "*"

to the require section of your composer.json file.

Usage

use conquer\slimscroll\SlimscrollWidget;

<?php SlimscrollWidget::begin(); ?>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam rhoncus, felis interdum condimentum consectetur, nisl libero elementum eros, vehicula congue lacus eros non diam. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Vivamus mauris lorem, lacinia id tempus non, imperdiet et leo. Cras sit amet erat sit amet lacus egestas placerat. Aenean ultricies ultrices mauris ac congue
</p>
<?php SlimscrollWidget::end(); ?>

License

conquer/slimscroll is released under the MIT License. See the bundled LICENSE.md for details.