Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ember-cli-fullpagejs-view

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-cli-fullpagejs-view

An integration of fullPage.js within Ember views

  • 0.2.12
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
43
increased by95.45%
Maintainers
1
Weekly downloads
 
Created
Source

Ember-cli-fullpagejs-view

I integrated the nice looking fullPage.js library into the Bitzik front end and thought there might be someone else out there who might benefice from it.

PR are welcome, issues reporting too (even better if you report the solution as well!)

This is my first Ember-addon, do not hesitate to come up with suggestions/correction to make it more conventional.

Happy Ember coding!

Usage

At its simplest, You just have to use the FullpageJsView as base for your Ember view:

import Ember from 'ember';
import FullpageJsView from 'ember-cli-fullpagejs-view/view/fullpage-js-view';


export default FullpageJsView.extend({

});

Optionally, you can setup some customization:

import Ember from 'ember';

import FullpageJsView from 'ember-cli-fullpagejs-view/view/fullpage-js-view';

export default FullpageJsView.extend({
  fullpageOptions: {
    sectionsColor: ['#1bbc9b', '#4BBFC3', '#7BAABE', 'whitesmoke', '#ccddff'],
		anchors: ['firstPage', 'secondPage', '3rdPage', '4thpage', 'lastPage'],
		menu: '#menu',
		scrollingSpeed: 1000
  },

  fullpageSelector: ".fullpage-class",

  customInitilization: function () {},

  customRemoval: function () {}
});

Options are:

  • fullpageOptions: object to be pass on to the fullpage constructor
  • fullpageSelector: jQuery selector string that will be used to find the fullpage base element. Null or empty selector will default to this.$()
  • customInitialization: function that will be called when initizalising fullpage (i.e. on('didInsertElement'))
  • customRemoval: function that will be called once the addon has tried to clean up any trace of fullpage presence. If you find something that was forgotten put it here (or fill in an issue / send me a PR !)

Keywords

FAQs

Package last updated on 09 Mar 2015

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc