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 :: angular cli create component with module 
Javascript :: bootstrap carousel click event next previous 
Javascript :: math.rount 
Javascript :: ascending and descending val in array using js 
Javascript :: javascript create element in a new line 
Javascript :: how to add button in canvas html5 
Javascript :: react toggle boolean state 
Javascript :: jquery this 
Javascript :: js find in array and remove 
Javascript :: how to redirect to another page in javascript on submit type 
Javascript :: auto increment schema mongoose id 
Javascript :: today in moment 
Javascript :: how to make stairs in javascript 
Javascript :: javascript remove event listener 
Javascript :: eliminar el ultimo caracter de un string javascript 
Javascript :: js code to remove class 
Javascript :: how to check the last item in an array javascript 
Javascript :: javascript get random integer in given range 
Javascript :: reload table jquery 
Javascript :: can we find lenght of an object 
Javascript :: jquery switch class 
Javascript :: javascript range 
Javascript :: console log object js 
Javascript :: jquery addeventlistener 
Javascript :: jquery on type event 
Javascript :: google oauth logout 
Javascript :: angular access form control value 
Javascript :: angular generate module with rooting 
Javascript :: link in angular 
Javascript :: js remove special characters 
ADD CONTENT
Topic
Content
Source link
Name
8+9 =