Socket
Book a DemoInstallSign in
Socket

ember-cli-sticky

Package Overview
Dependencies
Maintainers
3
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-cli-sticky

Ember addon for Sticky.js.

1.0.0
latest
Source
npmnpm
Version published
Weekly downloads
229
-27.76%
Maintainers
3
Weekly downloads
 
Created
Source

ember-cli-sticky Build Status

Ember addon to integrate jQuery plugin Sticky.js.

  • ember install ember-cli-sticky

  • Ember.js v3.4 or above

  • Ember CLI v2.13 or above

  • Node.js v12 or above

  • ember server

  • Visit your app at http://localhost:4200.

Usage

See Sticky.js options

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

{{#sticky-container options=myStickyOptions}}
    <nav ... />
{{/sticky-container}}
// ./controllers/index.js

import Ember from 'ember';

export default Ember.Controller.extend({
  myStickyOptions: {
    topSpacing: 30 //px, default: 0
  },
});

Installation

  • ember test
  • ember test --server

Usage

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

Keywords

ember-addon

FAQs

Package last updated on 21 Dec 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.