Learn R Programming

aos (version 0.1.0)

use_aos_refresh: Refresh aos

Description

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

Usage

use_aos_refresh()

Arguments

Value

Javascript code

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.

Examples

Run this code
# NOT RUN {
use_aos_refresh()

# }

Run the code above in your browser using DataLab