{"id":22092228,"url":"https://github.com/pirxpilot/popup-picker","last_synced_at":"2026-02-24T00:36:59.085Z","repository":{"id":57202278,"uuid":"42595812","full_name":"pirxpilot/popup-picker","owner":"pirxpilot","description":"Building block for a floating interactive popup","archived":false,"fork":false,"pushed_at":"2018-11-29T23:59:58.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-03T19:40:25.415Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/pirxpilot.png","metadata":{"files":{"readme":"Readme.md","changelog":"History.md","contributing":null,"funding":null,"license":"License.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-09-16T15:26:10.000Z","updated_at":"2018-11-29T23:56:40.000Z","dependencies_parsed_at":"2022-09-17T15:02:36.660Z","dependency_job_id":null,"html_url":"https://github.com/pirxpilot/popup-picker","commit_stats":null,"previous_names":["code42day/picker"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pirxpilot%2Fpopup-picker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pirxpilot%2Fpopup-picker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pirxpilot%2Fpopup-picker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pirxpilot%2Fpopup-picker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pirxpilot","download_url":"https://codeload.github.com/pirxpilot/popup-picker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245186927,"owners_count":20574554,"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":[],"created_at":"2024-12-01T03:08:47.409Z","updated_at":"2026-02-24T00:36:59.000Z","avatar_url":"https://github.com/pirxpilot.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# picker\n\n  Building block for a floating interactive popup\n\n  ![Picker](https://gist.github.com/pirxpilot/5011178/raw/9a02c67f55d648cfd65f73d8ff9be81675b79d07/picker-preview.png)\n\n\n## Installation\n\n    $ npm install popup-picker\n\n## Example\n\n```js\nvar Picker = require('picker');\nnew Picker(el, new Clock())\n  .on('change', function(v) {\n    var value = (v.hour || '0') + ':' + (v.minute || '00');\n  });\n```\n\n## Events\n\n  - `change` (time) - when content item g selected time is modified\n\n  - `show` [popover] show event\n  - `hide` [popover] hide event\n\n## API\n\n### new Picker(el, item)\n\nCreate a new Picker attached to `el` input DOM node\n`item` - interactive element such as [clock] or [calendar]\n\n### item\n\nDirect access to `item` passed in constructor\n\n## License\n\n  MIT\n\n[popover]: https://github.com/pirxpilot/popover\n[clock]: https://github.com/pirxpilot/clock\n[calendar]: https://github.com/pirxpilot/calendar","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpirxpilot%2Fpopup-picker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpirxpilot%2Fpopup-picker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpirxpilot%2Fpopup-picker/lists"}