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.
// ./controllers/index.js
import Ember from 'ember';
export default Ember.Controller.extend({
myStickyOptions: {
topSpacing: 30 //px, default: 0
},
});
ember test
ember test --server
For more information on using ember-cli, visit http://www.ember-cli.com/.