Baltazore / ember-scrollable

A simple Ember wrapper around Trackpad Scroll Emulator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ember Scrollable

Npm Version Code Climate Build Status

A simple wrapper around Trackpad Scroll Emulator.

Check out the demo

Installation

  • ember install ember-scrollable

Basic Usage

{{! app/templates/index.hbs }}

{{#as-scrollable}}
  Some long content...
{{/as-scrollable}}

Configuring the Component

The component accepts the following options:

  • horizontal: Enables horizontal scrolling (default: false)
  • autoHide: Enables auto hiding of the scrollbars on mouse out (default: true)
  • onScrolledToBottom: action triggered when user scrolled to the bottom

Developing

Setup

  • git clone https://github.com/alphasights/ember-scrollable.git
  • npm install && bower install

Running

  • ember server

Running Tests

  • ember test --server

About

A simple Ember wrapper around Trackpad Scroll Emulator

License:MIT License


Languages

Language:JavaScript 67.8%Language:HTML 16.4%Language:CSS 12.5%Language:Makefile 1.6%Language:Ruby 1.0%Language:Shell 0.7%