{"id":16735985,"url":"https://github.com/babakfp/easy-tab","last_synced_at":"2025-03-15T21:11:51.519Z","repository":{"id":84216034,"uuid":"246948822","full_name":"babakfp/easy-tab","owner":"babakfp","description":"Easily create tab navigations","archived":false,"fork":false,"pushed_at":"2022-03-21T20:51:14.000Z","size":942,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-01-22T10:13:04.960Z","etag":null,"topics":["tab-navigation","taby"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/babakfp.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-12T23:28:47.000Z","updated_at":"2022-03-21T20:44:26.000Z","dependencies_parsed_at":"2023-03-12T22:01:19.646Z","dependency_job_id":null,"html_url":"https://github.com/babakfp/easy-tab","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babakfp%2Feasy-tab","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babakfp%2Feasy-tab/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babakfp%2Feasy-tab/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babakfp%2Feasy-tab/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/babakfp","download_url":"https://codeload.github.com/babakfp/easy-tab/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243790999,"owners_count":20348385,"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":["tab-navigation","taby"],"created_at":"2024-10-13T00:07:55.733Z","updated_at":"2025-03-15T21:11:51.487Z","avatar_url":"https://github.com/babakfp.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Easy Tab\n\nEasily create tab navigations.\n\n## Production files\n\nPath: `/dist`\n\n- `/dist/easytab-dist.js`\n- `/dist/easytab-dist.css`\n\n## Usage\n\n```js\nnew EasyTab(container, activeIndex = 1)\n```\n\n```html\n\u003cdiv class=\"my-easytab\"\u003e\n\t\u003cli class=\"easytab__tab\"\u003eTab 1\u003c/li\u003e\n\t\u003cli class=\"easytab__tab\"\u003eTab 2\u003c/li\u003e\n\n\t\u003cdiv class=\"easytab__panel\"\u003eContent 1\u003c/div\u003e\n\t\u003cdiv class=\"easytab__panel\"\u003eContent 2\u003c/div\u003e\n\u003c/div\u003e\n\n\u003cscript\u003e\n\tnew EasyTab('.my-easytab')\n\t// Or\n\t// new EasyTab(document.querySelector('.my-easytab'))\n\u003c/script\u003e\n```\n\nMultiple instances with one line of code\n\n```html\n\u003cscript\u003e\n\tconst allEasytabs = document.querySelectorAll('.my-easytab')\n\tallEasytabs.forEach(el =\u003e new EasyTab(el))\n\u003c/script\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbabakfp%2Feasy-tab","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbabakfp%2Feasy-tab","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbabakfp%2Feasy-tab/lists"}