lockup

A mobile first scroll blocking plugin


Keywords
lockup, fly-in, modal, mobile, mobify
License
MIT
Install
bower install lockup

Documentation

Mobify Lockup

A mobile first scroll blocking plugin

Bower version Dependency Status Circle CI

Dependencies

Installation

Lockup can be installed using bower:

bower install lockup

Usage with Require.js

We highly recommend using Require.js with Lockup. To use Require, you have to reference Lockup and Lockup's dependencies inside your require config file:


{
    'paths': {
        'plugin': 'bower_components/plugin/dist/plugin.min',
        'lockup': 'bower_components/lockup/dist/lockup.min',
        'deckard': 'bower_components/deckard/dist/deckard.min'
    }
}

And then require Lockup in as needed:

define([
    'zepto',
    'lockup'
    ],
    function($) {
        $('.someElement').lockup();
    }
);