Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 452 Bytes

README.md

File metadata and controls

23 lines (14 loc) · 452 Bytes

Odo Affix

Makes an element fixed position while its within a container.

Install

npm install @odopod/odo-affix --save

Quick Start

import OdoAffix from '@odopod/odo-affix';

const affix = new OdoAffix(document.querySelector('.js-my-sidebar'));

Visit the Odo component directory for demos, code examples, and documentation.