Description Usage Details Value Examples
View source: R/use_aos_refresh.R
Recalculate all offsets and positions of elements (called on window resize).
1 |
By default AOS is watching for DOM changes and if there are any new elements loaded asynchronously or when something is removed from DOM it calls refreshHard automatically. In browsers that don't support MutationObserver like IE you might need to call AOS.refreshHard() by yourself.
Javascript code
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.