ember-pin

0.1.9 • Public • Published

ember-pin

ember-pin

Build Status npm version semantic-release

Pin elements of your UI, triggered by scrolling.

Use

Install this addon with ember-cli

ember install ember-pin

And then wrap whatever you want inside the {{pinned-content}} component, defining either the top or bottom property (numeric values, in pixels)

{{#pinned-content top=20}}
  <div class="card">
    <div class="card-content">
      <span class="card-title">Top-Pinned</span>
      <p>
        This card should snap to the top
        of the viewport as the user starts
        scrolling down
      </p>
    </div>
  </div>
{{/pinned-content}}

Collaborate

  • git clone this repository
  • npm install
  • bower install

Running

Running Tests

  • npm test (Runs ember try:testall to test your addon against multiple Ember versions)
  • ember test
  • ember test --server

Building

  • ember build

For more information on using ember-cli, visit http://ember-cli.com/.

/ember-pin/

    Package Sidebar

    Install

    npm i ember-pin

    Weekly Downloads

    3

    Version

    0.1.9

    License

    MIT

    Unpacked Size

    43 kB

    Total Files

    20

    Last publish

    Collaborators

    • northm