{"id":19848560,"url":"https://github.com/mikhailsidorov/v-aos","last_synced_at":"2026-05-17T02:45:34.150Z","repository":{"id":52849158,"uuid":"358227960","full_name":"mikhailsidorov/v-aos","owner":"mikhailsidorov","description":"Vue plugin for AOS (Animate on scroll) library","archived":false,"fork":false,"pushed_at":"2021-04-20T19:14:29.000Z","size":629,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-12T02:43:13.796Z","etag":null,"topics":["animate-on-scroll","animation","aos","v-aos","vue","vue-plugins"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mikhailsidorov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-04-15T11:04:57.000Z","updated_at":"2023-03-29T00:00:00.000Z","dependencies_parsed_at":"2022-09-09T22:03:46.130Z","dependency_job_id":null,"html_url":"https://github.com/mikhailsidorov/v-aos","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikhailsidorov%2Fv-aos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikhailsidorov%2Fv-aos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikhailsidorov%2Fv-aos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikhailsidorov%2Fv-aos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mikhailsidorov","download_url":"https://codeload.github.com/mikhailsidorov/v-aos/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241226818,"owners_count":19930487,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["animate-on-scroll","animation","aos","v-aos","vue","vue-plugins"],"created_at":"2024-11-12T13:17:37.194Z","updated_at":"2025-10-12T12:03:35.288Z","avatar_url":"https://github.com/mikhailsidorov.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# v-aos\n\nVue plugin for [AOS (animate on scroll library)](https://github.com/michalsnik/aos)\n\n## Using\n\n### 1. Unpkg\n```html\n\u003cscript src=\"https://unpkg.com/v-aos\"\u003e\u003c/script\u003e\n```\n\n### 2. Package manager\n\n```bash\nnpm i v-aos --save\n```\n\n### 3. Plug-in\n\n```js\nimport Vue from 'vue'\nimport VAos from 'v-aos'\n\nVue.use(VAos);\n```\n\nWith AOS init settings :\n\n```js\nVue.use(VAos, {\n  startEvent: 'DOMContentLoaded',\n  duration: 400,\n  delay: 100\n})\n```\n\n### 4. Use in your components\n\n```html\n\u003ctemplate\u003e\n  \u003cdiv v-aos:fade-up\u003eHello world\u003c/div\u003e\n\u003c/template\u003e\n```\n\n[List of available animations](https://github.com/michalsnik/aos#animations)\n\nWith flags:\n\n```html\n\u003ctemplate\u003e\n  \u003cdiv v-aos:fade-up.once\u003eHello world\u003c/div\u003e\n\u003c/template\u003e\n```\n\nWith parameters:\n\n```html\n\u003ctemplate\u003e\n  \u003cdiv v-aos:fade-up=\"{ delay: 100, offset: 200 }\"\u003eHello world\u003c/div\u003e\n\u003c/template\u003e\n```\n\n[List of available options](https://github.com/michalsnik/aos#1-initialize-aos)\n\n### 5. Use with Nuxt\n\nplugins/v-aos.js:\n\n```js\nimport Vue from 'vue'\nimport VAos from 'v-aos'\n\nVue.use(VAos);\n```\n\nnuxt.config.js:\n\n```js\nplugins: [\n  { src: '~/plugins/v-aos', mode: 'client' },\n]\n```\n\n### 6. Access AOS object\n\nAOS object can be accessed through $aos property in components or through window.AOS\n\n```js\nexport default {\n  mounted() {\n    this.$nextTick(() =\u003e this.$aos.refreshHard())\n  }\n}\n```\n\n### 7. AOS events\n\n```html\n\u003cdiv v-aos:fade-up @aos:in=\"handleAosIn\"\u003e\u003c/div\u003e\n```\n\n[List of available events](https://github.com/michalsnik/aos#js-events)\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikhailsidorov%2Fv-aos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmikhailsidorov%2Fv-aos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikhailsidorov%2Fv-aos/lists"}