1.0.16 • Published 6 years ago

object-visual-lock v1.0.16

Weekly downloads
19
License
ISC
Repository
github
Last release
6 years ago

Object Visual Lock

jQuery plugin to holding view in place on a specific DOM object.

var objectVisualLock = require('object-visual-lock');

To utilize:

$('#element').objectVisualLock();

To set an offset from the top

This is helpful with fixed headers, or if you just want some breathing room to work

$('#element').objectVisualLock(100);

This will push it 100px from the top of the page

To activate the lock on page load

Without this passed through, you must manually activate the lock by clicking the on/off button

$('#element').objectVisualLock(0, true); $('#element').objectVisualLock(100, true);

1.0.16

6 years ago

1.0.15

6 years ago

1.0.14

6 years ago

1.0.13

6 years ago

1.0.12

6 years ago

1.0.11

7 years ago

1.0.10

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago