Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
armellarcier committed Jan 19, 2018
1 parent 4b5d459 commit 85e7d47
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,17 @@ Or, for the opposite effect, use something like @cihadturhan's [jQuery.aim](http
$('#main').smoothState({ prefetchOn: 'aim' });
```

### `prefetchBubblesOn`

The name of the events that are to bubble up to their parents when prefetching.

```js
// Default
$('#main').smoothState({ prefetchBubblesOn: 'mouseover' });
```

By default, `smoothState` will stop propagation of prefetch events. This allows you to customize events that will not be stopped by the prefetch handler.

### `locationHeader`

A field name to lookup among the headers from the HTTP response to alert smoothState.js of any redirected URL.
Expand Down

0 comments on commit 85e7d47

Please sign in to comment.