You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

mdl-fab-scroll

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mdl-fab-scroll

Angular module to animate hide/show for MDL floating-action-buttons

1.0.7
latest
Source
npmnpm
Version published
Weekly downloads
15
1400%
Maintainers
1
Weekly downloads
 
Created
Source

mdl-fab-scroll

Angular module to animate hide/show for MDL floating-action-buttons See a demo

  • Requires Angular and material-design-lite
  • Hides the floating action button (fab) when the user scrolls down
  • Unhides the fab when the user scrolls up

Getting Started

Install this module

npm install mdl-fab-scroll --save

Add this module to your HTML page

<script src="node_modules/mdl-fab-scroll/mdl-fab-scroll.js"></script>

Add the module into your angular app

angular.module('app', ['mdl-fab-scroll']);

This will automagically animate the fab buttons when the mdl-layout__content is scrolled.

Keywords

mdl

FAQs

Package last updated on 08 Mar 2017

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