Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Walters committed Jun 27, 2018
1 parent c109be9 commit 7e94515
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,10 @@ The `StickyEvent` constant has our event names:

Relies on `position: sticky` and `IntersectionObserver` support.

ES2015+:
```javascript
import { observeStickyEvents, StickyEvent } from 'sticky-events';
```

Minified ES5-compatible:
```javascript
import { observeStickyEvents, StickyEvent } from 'sticky-events/sticky-events.es5';
```


### Installation

Expand Down Expand Up @@ -66,7 +60,7 @@ import { observeStickyEvents, StickyEvent } from 'sticky-events/sticky-events.es
```

*CSS*
```css
```scss
/* Import or copy the styles into your code */

@import "~sticky-events/sticky-events.css";
Expand Down

0 comments on commit 7e94515

Please sign in to comment.