{"id":25565813,"url":"https://github.com/thomasdev-de/jquery-resize","last_synced_at":"2026-02-21T06:12:49.610Z","repository":{"id":213356672,"uuid":"733856793","full_name":"ThomasDev-de/jquery-resize","owner":"ThomasDev-de","description":"By default, the resize event is fired on the window element. This small plugin fires the resize event with additional information on all elements.","archived":false,"fork":false,"pushed_at":"2025-02-20T08:24:25.000Z","size":26,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-26T08:29:54.051Z","etag":null,"topics":["javascript","jquery-plugin","resize"],"latest_commit_sha":null,"homepage":"https://github.webcito.de/#jquery-resize","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ThomasDev-de.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-12-20T09:36:29.000Z","updated_at":"2025-02-20T13:03:07.000Z","dependencies_parsed_at":"2023-12-20T16:26:49.347Z","dependency_job_id":"b0c84756-a157-4abf-b9f6-25e228eba823","html_url":"https://github.com/ThomasDev-de/jquery-resize","commit_stats":null,"previous_names":["thomasdev-de/jquery-resize"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/ThomasDev-de/jquery-resize","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThomasDev-de%2Fjquery-resize","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThomasDev-de%2Fjquery-resize/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThomasDev-de%2Fjquery-resize/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThomasDev-de%2Fjquery-resize/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ThomasDev-de","download_url":"https://codeload.github.com/ThomasDev-de/jquery-resize/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThomasDev-de%2Fjquery-resize/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29675027,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T05:54:28.202Z","status":"ssl_error","status_checked_at":"2026-02-21T05:53:42.585Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["javascript","jquery-plugin","resize"],"created_at":"2025-02-20T22:15:09.728Z","updated_at":"2026-02-21T06:12:49.582Z","avatar_url":"https://github.com/ThomasDev-de.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# jquery-resize\n\nBy default, the resize event is fired on the window element. This small plugin fires the resize event with additional information on all elements.\n\n![example](demo/img/example_resize.png)\n\n## Setup\n```js \n$.setupResize.setDefaults({\n    debug: true, // Default false, If debug is true, the content of the element is replaced with the return parameters.\n    wait: 0 // Default 100ms, when changing the size, how long should you wait until the event is triggered?\n});\n```\n## Calling up the plugin\n\n```js\n$('div').resize();\n\n$('div').on('resize', function(e,axis, afterSizes, beforeSizes, diffSizes){\n    console.log(axis, afterSizes, beforeSizes, diffSizes);\n    // console output: 'x', {width: 934, height: 665}, {width: 985, height: 665}, {width: -51, height: 0}\n});\n\n// or directly with callback function\n\n$('div').resize((axis, afterSizes, beforeSizes, diffSizes) =\u003e {\n    console.log(axis, afterSizes, beforeSizes, diffSizes);\n    // console output: 'x', {width: 934, height: 665}, {width: 985, height: 665}, {width: -51, height: 0}\n});\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthomasdev-de%2Fjquery-resize","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthomasdev-de%2Fjquery-resize","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthomasdev-de%2Fjquery-resize/lists"}