use_aos_refresh: Refresh aos

Description Usage Details Value Examples

View source: R/use_aos_refresh.R

Description

Recalculate all offsets and positions of elements (called on window resize).

Usage

1

Details

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.

Value

Javascript code

Examples

1

aos documentation built on April 29, 2020, 5:08 p.m.