{"id":16009709,"url":"https://github.com/htmlelements/smart-listbox","last_synced_at":"2025-03-18T02:32:19.290Z","repository":{"id":57161044,"uuid":"138025899","full_name":"HTMLElements/smart-listbox","owner":"HTMLElements","description":"ListBox Custom Element","archived":false,"fork":false,"pushed_at":"2020-01-10T06:50:32.000Z","size":450,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-16T16:24:18.282Z","etag":null,"topics":["custom-elements","custom-elements-listbox","demo","eslint","list","listbox","listbox-custom-element","listbox-web-component","web-components"],"latest_commit_sha":null,"homepage":"https://www.htmlelements.com/demos/listbox/","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HTMLElements.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":"2018-06-20T11:50:23.000Z","updated_at":"2024-04-22T00:12:01.000Z","dependencies_parsed_at":"2022-08-29T08:50:37.280Z","dependency_job_id":null,"html_url":"https://github.com/HTMLElements/smart-listbox","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HTMLElements%2Fsmart-listbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HTMLElements%2Fsmart-listbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HTMLElements%2Fsmart-listbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HTMLElements%2Fsmart-listbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HTMLElements","download_url":"https://codeload.github.com/HTMLElements/smart-listbox/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244144204,"owners_count":20405368,"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":["custom-elements","custom-elements-listbox","demo","eslint","list","listbox","listbox-custom-element","listbox-web-component","web-components"],"created_at":"2024-10-08T13:03:47.193Z","updated_at":"2025-03-18T02:32:18.932Z","avatar_url":"https://github.com/HTMLElements.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# [Smart Listbox Element](https://www.htmlelements.com) [![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/intent/tweet?text=Get%20over%2020%20free%20custom%20elements%20based%20on%20SmartHTMLElements%20\u0026url=https://www.htmlelements.com/\u0026via=htmlelements\u0026hashtags=bootstrap,design,templates,blocks,developers,webcomponents,customelements,polymer,material)\n\n\u0026nbsp;[![Slack](https://smarthtmlelements-slack.herokuapp.com/badge.svg)](https://smarthtmlelements.slack.com/)\n[![Price](https://img.shields.io/badge/price-FREE-0098f7.svg)](https://github.com/HTMLElements/smart-listbox/blob/master/LICENSE)\n[![npm](https://img.shields.io/npm/v/froala-design-blocks.svg?colorB=brightgreen)](https://www.npmjs.com/package/@smarthtmlelements/smart-listbox)\n[![GitHub package version](https://img.shields.io/github/package-json/v/HTMLElements/smart-listbox.svg)](https://github.com/HTMLElements/smart-listbox)\n[![License: APACHE](https://img.shields.io/badge/license-APACHE-blue.svg)](https://github.com/HTMLElements/smart-listbox/blob/master/LICENSE)\n[![](https://img.shields.io/website-up-down-green-red/https/shields.io.svg?label=www.htmlelements.com)](https://www.htmlelements.com)\n[![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/htmlelements/smart-listbox)\n\n# \u0026lt;smart-listbox\u0026gt;\n\n[Live Demo ↗](https://htmlelements.com/demos/listbox/)\n|\n[Documentation ↗](https://www.htmlelements.com/docs/listbox/)\n|\n[Installation ↗](https://www.npmjs.com/package/@smarthtmlelements/smarthtmlelements-core)\n\n[\u0026lt;smart-listbox\u0026gt;](https://htmlelements.com/demos/listbox/) is a listbox Custom HTML Element that make it easy to select and switch between different list items, part of the [Smart HTML Elements](https://htmlelements.com/).\n\n\u003c!--\n```\n\u003ccustom-element-demo\u003e\n  \u003ctemplate\u003e\n    \u003cscript src=\"../webcomponentsjs/webcomponents-lite.js\"\u003e\u003c/script\u003e\n    \u003cscript src=\"../smart-core/source/smart.element.js\"\u003e\u003c/script\u003e\n    \u003cscript src=\"../smart-core/source/smart.button.js\"\u003e\u003c/script\u003e\n    \u003cscript src=\"../smart-core/source/smart.scrollbar.js\"\u003e\u003c/script\u003e\n    \u003cscript src=\"../smart-core/source/smart.listbox.js\"\u003e\u003c/script\u003e\n    \u003clink rel=\"stylesheet\" href=\"../smart-core/source/styles/smart.base.css\" type=\"text/css\" /\u003e\n    \u003clink rel=\"stylesheet\" href=\"../smart-core/source/styles/smart.material.css\" type=\"text/css\" /\u003e\n     \u003cnext-code-block\u003e\u003c/next-code-block\u003e\n  \u003c/template\u003e\n\u003c/custom-element-demo\u003e\n```\n--\u003e\n```html\n \u003csmart-list-box class='material'\u003e\n     \u003csmart-list-item selected value=\"1\"\u003eItem 1\u003c/smart-list-item\u003e\n     \u003csmart-list-item value=\"2\"\u003eItem 2\u003c/smart-list-item\u003e\n     \u003csmart-list-item value=\"3\"\u003eItem 3\u003c/smart-list-item\u003e\n \u003c/smart-list-box\u003e\n```\n\n[\u003cimg src=\"https://raw.githubusercontent.com/htmlelements/smart-listbox/master/smart-listbox.gif\" alt=\"Screenshot of smart-list-box, using the Material theme\"\u003e](https://htmlelements.com/demos/listbox)\n\n## Getting Started\n\nSmart HTML Elements components documentation includes getting started, customization and api documentation topics.\n\n[Getting Started Documentation](https://www.htmlelements.com/docs/listbox/)\n|\n[CSS Documentation](https://www.htmlelements.com/docs/listbox-css/)\n|\n[API Documentation](https://www.htmlelements.com/docs/listbox-api/)\n\n\n## The file structure for Smart HTML Elements\n\n- `source-minified/`\n\n  Javascript files.\n\n- `source-minified/styles/`\n\n  Component CSS Files.\n\n- `demos/`\n\n  Demo files\n\n## Running demos in browser\n\n1. Fork the `Smart-HTML-Elements-Core` repository and clone it locally.\n\n1. Make sure you have [npm](https://www.npmjs.com/) installed.\n\n1. When in the `Smart-HTML-Elements-Core` directory, run `npm install` and then `bower install` to install dependencies.\n\n1. Run a localhost or upload the demo on a web server. Then run:\n\n  - /demos/smart-button/smart-button-overview.htm\n\n\n## Following the coding style\n\nWe are using [ESLint](http://eslint.org/) for linting JavaScript code. \n\n## Creating a pull request\n\n  - Make sure your code is compliant with ESLint\n  - [Submit a pull request](https://www.digitalocean.com/community/tutorials/how-to-create-a-pull-request-on-github) with detailed title and description\n  - Wait for response from one of our team members\n\n\n## License\n\nApache License 2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhtmlelements%2Fsmart-listbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhtmlelements%2Fsmart-listbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhtmlelements%2Fsmart-listbox/lists"}