1.0.3 • Published 7 years ago

clingy v1.0.3

Weekly downloads
4
License
MIT
Repository
github
Last release
7 years ago

clingy

Position elements relative to each other.

Example

import cling from 'clingy';

const whatever = document.querySelector('.whatever');
const target = document.querySelector('.target');

const myCling = cling(whatever, target, {
	from: '25%-10 top',
	to: 'left 75%'
});

myCling.forceUpdate();

myCling.destroy();

Compatibility

Requires ES5 support and requestAnimationFrame support. Works with your usual shims.

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago