{"id":17753194,"url":"https://github.com/zvakanaka/table-of-data","last_synced_at":"2025-06-12T16:32:37.703Z","repository":{"id":57741642,"uuid":"93206939","full_name":"zvakanaka/table-of-data","owner":"zvakanaka","description":"v1 custom element","archived":false,"fork":false,"pushed_at":"2017-12-13T20:46:18.000Z","size":61,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-02T22:46:49.739Z","etag":null,"topics":["v1","web-components"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/zvakanaka.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}},"created_at":"2017-06-02T22:00:27.000Z","updated_at":"2021-07-15T20:58:53.000Z","dependencies_parsed_at":"2022-09-05T18:24:08.504Z","dependency_job_id":null,"html_url":"https://github.com/zvakanaka/table-of-data","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/zvakanaka/table-of-data","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zvakanaka%2Ftable-of-data","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zvakanaka%2Ftable-of-data/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zvakanaka%2Ftable-of-data/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zvakanaka%2Ftable-of-data/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zvakanaka","download_url":"https://codeload.github.com/zvakanaka/table-of-data/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zvakanaka%2Ftable-of-data/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259502143,"owners_count":22867740,"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":["v1","web-components"],"created_at":"2024-10-26T13:23:14.155Z","updated_at":"2025-06-12T16:32:37.663Z","avatar_url":"https://github.com/zvakanaka.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Table Custom Element\n[![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg?style=flat-square)](https://www.webcomponents.org/element/zvakanaka/table-of-data)  \n[demo](https://zvakanaka.github.io/table-of-data)\n## About\nLightweight and easy to use data table\n## Usage\nImport the element in the head\n```html\n\u003cscript src=\"./table-of-data.js\"\u003e\n```\nPut the element somewhere in the body\n```html\n\u003ctable-of-data\u003e\u003c/table-of-data\u003e\n```\nPut data in the table\n```javascript\nlet data = {\n  headings: [ 'State', 'Place' ],\n  rows: [\n    [ 'California',\n      'Redwood Forest'\n    ],\n    [ 'New York',\n      'New York Islands'\n    ]\n  ]\n};\ndocument.querySelector('table-of-data').data = data;\n```\n![Screenshot](http://i.imgur.com/Wi9b2Jy.png)\n## Polyfill\nOnly Custom Elements needs to be polyfilled (`custom-elements.js`). To see how to use a polyfill, check out [index.html](https://github.com/zvakanaka/table-of-data/blob/master/index.html#L29-L56), which only loads the polyfill if needed (credit to [Eric Bidelman](https://gist.github.com/ebidel/1d5ede1e35b6f426a2a7)).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzvakanaka%2Ftable-of-data","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzvakanaka%2Ftable-of-data","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzvakanaka%2Ftable-of-data/lists"}