Callback fired once the sections have been loaded, after the scrolling has ended.
Parameters:
@@ -268,7 +268,7 @@ Example:
});
```
###onLeave (`index`, `nextIndex`, `direction`)
###onLeave (`index`, `nextIndex`, `direction`)
This callback is fired once the user leaves a section, in the transition to the new section.
Parameters:
@@ -295,7 +295,7 @@ Example:
```
###afterRender()
###afterRender()
This callback is fired just after the structure of the page is generated. This is the callback you want to use to initialize other plugins or fire any code which requires the document to be ready (as this plugin modifies the DOM to create the resulting structure).