2017 © Pedro Peláez
 

yii2-extension yii2-baron-scrollbar

Baron — a small, fast and crossbrowser custom scrollbar with native system scroll mechanic.

image

kl83/yii2-baron-scrollbar

Baron — a small, fast and crossbrowser custom scrollbar with native system scroll mechanic.

  • Saturday, July 28, 2018
  • by kl83
  • Repository
  • 1 Watchers
  • 0 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Yii2 baron scrollbar widget

Baron — a small, fast and crossbrowser custom scrollbar with native system scroll mechanic., (*1)

Installation

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

Either run, (*3)

php composer.phar require kl83/yii2-baron-scrollbar *

or add, (*4)

"kl83/yii2-baron-scrollbar": "*"

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

Usage

<?php \kl83\widgets\Scrollbar::begin([
    'theme' => \kl83\widgets\Scrollbar::THEME_MACOSX,
    'options' => [
        'style' => 'height: 30vh',
    ],
    'baronOptions' => [
        'cssGuru' => false,
    ],
]); ?>
<p>Some scrollable content...</p>
<p>Height of parent DOM element must be set.</p>
<?php \kl83\widgets\Scrollbar::end(); ?>

License

MIT License, (*6)

The Versions

28/07 2018

dev-master

9999999-dev

Baron — a small, fast and crossbrowser custom scrollbar with native system scroll mechanic.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Aleksandr Solovyov

yii2 widget custom scrollbar baron scrollbar