Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

install aos angular 10

//install
npm install aos --save
//inside the angular.json inside of 'build', look for the 'styles' and 'scripts'
//inside them add:
styles: [... "node_modules/aos/dist/aos.css"]
scripts: [... "node_modules/aos/dist/aos.js"]

//to add AOS for the entire project, at the top of app.component.ts add:

import * as AOS from 'aos';

ngOnInit(){
AOS.init();
}
Comment

PREVIOUS NEXT
Code Example
Javascript :: use onchange with react select 
Javascript :: jquery window trigger resize 
Javascript :: js add to array conditionally 
Javascript :: add comma after every 3 digits javascript 
Javascript :: js check if array 
Javascript :: ReferenceError: primordials is not defined 
Javascript :: import jquery into js file 
Javascript :: how to generate unique id in node js 
Javascript :: tailwind hover dont work 
Javascript :: VM1188:1 Uncaught TypeError: $ is not a function at <anonymous:1:1 
Javascript :: get index of item array 
Javascript :: javascript string to float 
Javascript :: jquery validation plugin google recaptcha 
Javascript :: create react app cmd 
Javascript :: javascript format date object to yyyy-mm-dd 
Javascript :: discord.js v13 client 
Javascript :: owl.js cdn 
Javascript :: how to call rest api with the useeffect hook in react 
Javascript :: Rename files in a directory with node.js 
Javascript :: remove role discord.js 
Javascript :: js document.addEventListner 
Javascript :: contains substring javascript 
Javascript :: DragDropContext 
Javascript :: Loop array backwards in JS 
Javascript :: download json file from s3 
Javascript :: js index sorted 
Javascript :: how to print object in JavaScript, Object print in JavaScript 
Javascript :: package json scripts multiple commands 
Javascript :: deploy react js heroku 
Javascript :: compare 2 array element 
ADD CONTENT
Topic
Content
Source link
Name
7+9 =