{"id":19346832,"url":"https://github.com/juicy/juicy-table-repeat","last_synced_at":"2025-07-02T11:33:26.184Z","repository":{"id":66451336,"uuid":"47964279","full_name":"Juicy/juicy-table-repeat","owner":"Juicy","description":"A workaround custom element which allows you to use dom-repeat inside table under IE and FF","archived":false,"fork":false,"pushed_at":"2017-01-18T13:33:31.000Z","size":17,"stargazers_count":4,"open_issues_count":2,"forks_count":1,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-02-24T09:43:52.549Z","etag":null,"topics":["frozen","polymer"],"latest_commit_sha":null,"homepage":null,"language":"HTML","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/Juicy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","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}},"created_at":"2015-12-14T09:18:37.000Z","updated_at":"2017-10-03T12:19:14.000Z","dependencies_parsed_at":"2023-02-22T13:15:51.002Z","dependency_job_id":null,"html_url":"https://github.com/Juicy/juicy-table-repeat","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/Juicy/juicy-table-repeat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Juicy%2Fjuicy-table-repeat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Juicy%2Fjuicy-table-repeat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Juicy%2Fjuicy-table-repeat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Juicy%2Fjuicy-table-repeat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Juicy","download_url":"https://codeload.github.com/Juicy/juicy-table-repeat/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Juicy%2Fjuicy-table-repeat/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263130533,"owners_count":23418293,"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":["frozen","polymer"],"created_at":"2024-11-10T04:12:39.087Z","updated_at":"2025-07-02T11:33:26.107Z","avatar_url":"https://github.com/Juicy.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# \u0026lt;juicy-table-repeat\u0026gt;\n\n\u003e This is a workaround custom element to support `\u003ctemplate is=\"dom-repeat\"\u003e` in `\u003ctable\u003e` under IE.\nWill not be required after this Polymer issue is fixed: https://github.com/Polymer/polymer/issues/1567\n\n## Install\n\nInstall the component using [Bower](http://bower.io/):\n\n```sh\n$ bower install Juicy/juicy-table-repeat --save\n```\n\nOr [download as ZIP](https://github.com/Juicy/juicy-table-repeat/archive/master.zip).\n\n## Usage\n\n1. Import Web Components' polyfill, if needed:\n\n    ```html\n    \u003cscript src=\"bower_components/webcomponentsjs/webcomponents.min.js\"\u003e\u003c/script\u003e\n    ```\n\n2. Import Custom Element:\n\n    ```html\n    \u003clink rel=\"import\" href=\"bower_components/juicy-table-repeat/juicy-table-repeat.html\"\u003e\n    ```\n\n3. Start using it!\n\nInstead of following code:\n```html\n  \u003ctable\u003e\n      \u003cthead\u003e\n      \u003c!-- your favorite thead --\u003e\n      \u003c/thead\u003e\n      \u003ctbody\u003e\n      \u003ctemplate is=\"dom-repeat\" items=\"{{model.Shops}}\"\u003e\n          \u003ctr\u003e\n              \u003ctd\u003e{{item.Name}}\u003c/td\u003e\n              \u003c!-- other item stuff --\u003e\n          \u003c/tr\u003e\n      \u003c/template\u003e\n      \u003c/tbody\u003e\n  \u003c/table\u003e\n```\n\nUse this:\n\n```html\n\u003cjuicy-table-repeat rows=\"{{model.Shops}}\"\u003e\n    \u003ctable\u003e\n      \u003cthead\u003e\n      \u003c!-- your favorite thead --\u003e\n      \u003c/thead\u003e\n      \u003ctbody\u003e\n      \u003c/tbody\u003e\n    \u003c/table\u003e\n    \u003ctemplate is=\"dom-template\" class=\"row-template\"\u003e\n        \u003ctable\u003e\n            \u003ctr\u003e\n              \u003ctd\u003e{{item.Name}}\u003c/td\u003e\n              \u003c!-- other item stuff --\u003e\n            \u003c/tr\u003e\n        \u003c/table\u003e\n    \u003c/template\u003e\n\u003c/juicy-table-repeat\u003e\n```\n\n## Observing changes\n\n**Note:** `juicy-table-repeat` observes changes in the `rows` array, but re-rendering HTML table might be expensive.\n\n- A splice on the `rows` array causes entire table re-rendering.\n- A row property change causes entire table row re-rendering.\n\n## Options\n\nAttribute     | Options     | Default      | Description\n---           | ---         | ---          | ---\n`rows`        | *Array*     |              | The array of objects to iterate over.\n\n## [Contributing and Development](CONTRIBUTING.md)\n\n## History\n\nFor detailed changelog, check [Releases](https://github.com/Juicy/juicy-table-repeat/releases).\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuicy%2Fjuicy-table-repeat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjuicy%2Fjuicy-table-repeat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuicy%2Fjuicy-table-repeat/lists"}