{"id":26517984,"url":"https://github.com/pixelunion/jquery.trend","last_synced_at":"2025-03-21T09:19:23.198Z","repository":{"id":24176029,"uuid":"27566643","full_name":"pixelunion/jquery.trend","owner":"pixelunion","description":"Fail-safe TransitionEnd event for jQuery.","archived":false,"fork":false,"pushed_at":"2021-04-22T17:21:23.000Z","size":5,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":25,"default_branch":"main","last_synced_at":"2024-04-26T20:48:56.709Z","etag":null,"topics":["library"],"latest_commit_sha":null,"homepage":null,"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/pixelunion.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":"2014-12-05T00:24:53.000Z","updated_at":"2021-02-13T00:27:56.000Z","dependencies_parsed_at":"2022-07-24T00:16:27.728Z","dependency_job_id":null,"html_url":"https://github.com/pixelunion/jquery.trend","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/pixelunion%2Fjquery.trend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixelunion%2Fjquery.trend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixelunion%2Fjquery.trend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixelunion%2Fjquery.trend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pixelunion","download_url":"https://codeload.github.com/pixelunion/jquery.trend/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244566900,"owners_count":20473450,"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":["library"],"created_at":"2025-03-21T09:19:22.736Z","updated_at":"2025-03-21T09:19:23.191Z","avatar_url":"https://github.com/pixelunion.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jquery.trend\n\nFail-safe TransitionEnd event for jQuery.\n\nAdds a new `trend` event that can be used in browsers that don't support\n`transitionend`.\n\nIt works by parsing an element's `transitionDuration` and `transitionDelay`\nproperties and using `setTimeout` as a fallback. Because of this, Trend can only\nbe used with `jQuery.one`.\n\n## Usage\n\n```css\n.some-element {\n  opacity: 0;\n  transition: opacity 1s ease 200ms;\n}\n\n.some-element.active {\n  opacity: 1;\n}\n```\n\n```js\nvar el = $(\".some-element\");\n\nel.addClass(\"active\");\n\nel.one(\"trend\", function(e){\n  // Called approx 1200ms later\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpixelunion%2Fjquery.trend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpixelunion%2Fjquery.trend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpixelunion%2Fjquery.trend/lists"}