Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

aos js

CSS
<link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">

JS
<script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>

INITIALIZE AOS:
<script>
  AOS.init();
</script>
Comment

how to use aos

npm install aos --save
then 
import AOS from "aos";
import "aos/dist/aos.css";
then
  useEffect(() => {
    AOS.init({
      duration: 3000,
    });
  });
  then 
     <div data-aos="fade-up" className={classes.layout}>
Comment

PREVIOUS NEXT
Code Example
Javascript :: js startswitch 
Javascript :: highlight link javascript 
Javascript :: onclick automatically called after 10 seconds 
Javascript :: how to draw vertical dash line in react native 
Javascript :: calculate 7 days in javascript countdown 
Javascript :: jquery-3.5.0.min.js 
Javascript :: how to add debounce in react redux js 
Javascript :: Select First Element querySelector 
Javascript :: document.cookie 
Javascript :: remote with post data jquery ajax example 
Javascript :: json ld product schema 
Javascript :: disable livewire error model 
Javascript :: ask for expo token and save to firebase 
Javascript :: remove last element from an array 
Javascript :: javascript test if undefined 
Javascript :: how to give placeholder in input type date in angular 
Javascript :: extend current date with 30 days in jquery datepicker 
Javascript :: javascript optional parameters 
Javascript :: javascript switch syntax 
Javascript :: getusermedia close stream 
Javascript :: jquery how to get element insde div 
Javascript :: joi not empty string 
Javascript :: react-bootstrap problem-import new version 
Javascript :: adobe target triggerview 
Javascript :: random code generator using random alphanumeric string 
Javascript :: find saturday with moment js 
Javascript :: react clear input after button click 
Javascript :: rest parameters 
Javascript :: phantomjs in angular 
Javascript :: javascript length of array 
ADD CONTENT
Topic
Content
Source link
Name
2+8 =