{"id":14973561,"url":"https://github.com/nzick/ng2-simple-dropdown","last_synced_at":"2025-10-27T01:30:42.380Z","repository":{"id":143896697,"uuid":"91557257","full_name":"nzick/ng2-simple-dropdown","owner":"nzick","description":"Angular4 Simple Dropdown Component without any dependency","archived":false,"fork":false,"pushed_at":"2017-10-23T13:50:46.000Z","size":257,"stargazers_count":3,"open_issues_count":3,"forks_count":6,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-30T06:40:41.492Z","etag":null,"topics":["angular","angular2","angular4","angular4-component","dropdown","dropdown-menus"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/nzick.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":"2017-05-17T09:14:38.000Z","updated_at":"2017-08-17T22:23:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"e0dbe636-09b4-4b1a-93ea-679154ce4ae2","html_url":"https://github.com/nzick/ng2-simple-dropdown","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/nzick%2Fng2-simple-dropdown","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nzick%2Fng2-simple-dropdown/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nzick%2Fng2-simple-dropdown/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nzick%2Fng2-simple-dropdown/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nzick","download_url":"https://codeload.github.com/nzick/ng2-simple-dropdown/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238418233,"owners_count":19468869,"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":["angular","angular2","angular4","angular4-component","dropdown","dropdown-menus"],"created_at":"2024-09-24T13:48:57.353Z","updated_at":"2025-10-27T01:30:41.922Z","avatar_url":"https://github.com/nzick.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ng2-simple-dropdown\nAngular2 Dropdown Component with *NO DEPENDENCYS*\n\n***ng2-simple-dropdown*** is a table grid component for Angular2/4.\n\n## Demo\n\nTry it out: [http://ng2-simple-dropdown.nicolaszick.com](http://ng2-simple-dropdown.nicolaszick.com)\n\n## Data\n\n`[items]` can be an Object like the following:\n\n```js\nthis.savedFilter = [\n      {\n        name: 'Profile1', \n        any: {}\n      }\n]\n```\n\n`[defaultValue]` can be a String like the following:\n\n```js\nthis.defaultSelectTextProfile = \"Please Select\";\n```\n\n`[isEditable]` can be a boolean and defined if dropdown values can be changed\n\n\n## Installation\n\nInstall ng2-simple-dropdown via `npm`\n\n````shell\nnpm install ng2-simple-dropdown --save\n````\n\n## Integration\n\n```ts\n// app.module.ts\nimport { SimpleDropdownModule } from 'ng2-simple-dropdown';\n\n@NgModule({\n  ...\n  imports: [ SimpleDropdownModule ]\n  ...\n})\nexport class AppModule { }\n\n// app.component.html\n\u003cng2-simple-dropdown [items]=\"items\" [(ngModel)]=\"selectedItem\" [defaultValue]=\"defaultText\"\u003e\u003c/ng2-simple-dropdown\u003e\n\n// app.component.ts\nimport { Item } from 'ng2-simple-dropdown';\n\n// ...\n\nexport class AppComponent {\n  savedFilter: Item[] = [];\n  selectedFilter: Item;\n  defaultSelectTextProfile = 'Profiles';\n\n  constructor() {\n    const data = { };\n    this.savedFilter = [\n      new Item('Profile1'),\n      new Item('Profile2'),\n      new Item('Profile3', data),\n      new Item('Profile4', data),\n      new Item('Profile5', data),\n      new Item('Profile6', data),\n      new Item('Profile7', data),\n      new Item('Profile8', data),\n      new Item('Profile9', data),\n      new Item('Profile10', data),\n    ];\n  }\n}\n\n```\n\n## Run Included Demo\n\n```shell\ngit clone https://github.com/nzick/ng2-simple-dropdown.git --depth 1\ncd ng2-simple-dropdown\nnpm install\nnpm start\n```\n\n## AoT Library Build\n\n```shell\nnpm run build:lib\n```\n\n## Licence\n\nThis project is licensed under the MIT license. See the [LICENSE](LICENSE) file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnzick%2Fng2-simple-dropdown","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnzick%2Fng2-simple-dropdown","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnzick%2Fng2-simple-dropdown/lists"}