{"id":20715427,"url":"https://github.com/codler/grid-layout-polyfill","last_synced_at":"2025-07-08T08:34:58.315Z","repository":{"id":138047641,"uuid":"8395312","full_name":"codler/Grid-Layout-Polyfill","owner":"codler","description":null,"archived":false,"fork":false,"pushed_at":"2014-04-21T13:40:43.000Z","size":1270,"stargazers_count":105,"open_issues_count":2,"forks_count":19,"subscribers_count":10,"default_branch":"gh-pages","last_synced_at":"2025-06-05T22:06:25.152Z","etag":null,"topics":[],"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/codler.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":"2013-02-24T19:26:47.000Z","updated_at":"2023-07-25T08:01:12.000Z","dependencies_parsed_at":"2023-03-12T12:56:19.022Z","dependency_job_id":null,"html_url":"https://github.com/codler/Grid-Layout-Polyfill","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/codler/Grid-Layout-Polyfill","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codler%2FGrid-Layout-Polyfill","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codler%2FGrid-Layout-Polyfill/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codler%2FGrid-Layout-Polyfill/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codler%2FGrid-Layout-Polyfill/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codler","download_url":"https://codeload.github.com/codler/Grid-Layout-Polyfill/tar.gz/refs/heads/gh-pages","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codler%2FGrid-Layout-Polyfill/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264232189,"owners_count":23576794,"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":[],"created_at":"2024-11-17T02:38:26.664Z","updated_at":"2025-07-08T08:34:58.294Z","avatar_url":"https://github.com/codler.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Grid Layout Polyfill\n\nFollowing this spec http://www.w3.org/TR/2012/WD-css3-grid-layout-20120322/ because current IE10 is using that one.\n\nThe concept of this polyfill are trying to only change the CSS and not to edit any DOM elements.\n\n* Example of using grid css - http://jsfiddle.net/u6xZF/1/\n* Example of the non-grid css - http://jsfiddle.net/Nnjpq/1/\n\nAlso the polyfill currently only polyfill the `-ms-` prefix\n\n## How to use\n\nSimply add the script after jQuery\n\n\t\u003cscript src=\"grid-layout-polyfill.min.js\"\u003e\u003c/script\u003e\n\n### Options\n\n**Methods**\n* `$(grid).gridLayout('refresh')` will recalculate existing initiated grid. Useful when for example you have set a new height with JavaScript on the grid.\n\n**Events**\n```\n$(grid).gridLayout({\n\t// Resize event, triggers when window resize with 100ms delay to increase performance\n\t'resize' : function() {} \n})\n```\n\t\n\n## Browser support\n\n* IE9+ and all other browsers\n\n## Limitation\n\n* IE9: If `display: -ms-grid;` are declared in inline-style, you need to add the attribute `data-ms-grid` on the element, because IE9 removes invalid css value.\n\n### What is covered?\n\n\tdisplay: -ms-grid;\n\t-ms-grid-columns: 100px 1fr auto; /* Only pixel, fraction and auto units */\n\t-ms-grid-rows: 100px 1fr auto; /* Only pixel, fraction and auto units */\n\n\t-ms-grid-column: 1;\n\t-ms-grid-row: 1;\n\t-ms-grid-column-span: 1;\n\t-ms-grid-row-span: 1;\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodler%2Fgrid-layout-polyfill","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodler%2Fgrid-layout-polyfill","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodler%2Fgrid-layout-polyfill/lists"}