{"id":21903900,"url":"https://github.com/hansemannn/titanium-android-bottom-sheet-dialog","last_synced_at":"2025-07-10T16:38:48.724Z","repository":{"id":142791288,"uuid":"173308871","full_name":"hansemannn/titanium-android-bottom-sheet-dialog","owner":"hansemannn","description":"Use the native Android BottomSheet view in Appcelerator Titanium.","archived":false,"fork":false,"pushed_at":"2023-04-04T09:20:49.000Z","size":263,"stargazers_count":14,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-15T20:56:30.677Z","etag":null,"topics":["appcelerator","bottomsheet","javascript","native","titanium"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hansemannn.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":"2019-03-01T13:44:58.000Z","updated_at":"2023-04-03T20:41:45.000Z","dependencies_parsed_at":"2024-11-28T15:32:48.164Z","dependency_job_id":"f5293741-162e-4bae-81a6-5f489a147a98","html_url":"https://github.com/hansemannn/titanium-android-bottom-sheet-dialog","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/hansemannn/titanium-android-bottom-sheet-dialog","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansemannn%2Ftitanium-android-bottom-sheet-dialog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansemannn%2Ftitanium-android-bottom-sheet-dialog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansemannn%2Ftitanium-android-bottom-sheet-dialog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansemannn%2Ftitanium-android-bottom-sheet-dialog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hansemannn","download_url":"https://codeload.github.com/hansemannn/titanium-android-bottom-sheet-dialog/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansemannn%2Ftitanium-android-bottom-sheet-dialog/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264608262,"owners_count":23636695,"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":["appcelerator","bottomsheet","javascript","native","titanium"],"created_at":"2024-11-28T15:30:00.908Z","updated_at":"2025-07-10T16:38:48.699Z","avatar_url":"https://github.com/hansemannn.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Titanium Android BottomSheet module\n\nUse the native Android `BottomSheet` view in Appcelerator Titanium. \n\nCredits go to the native [`michael-rapp/AndroidBottomSheet`](https://github.com/michael-rapp/AndroidBottomSheet) library \nand [@chrystoffer](https://github.com/chrystoffer) for the initial Hyperloop based example. Thanks guys! 🤘\n\n\u003cimg src=\"./screenshot.png\" width=\"300\" alt=\"Example Screenshot\" /\u003e\n\n## Requirements\n- [x] Titanium SDK 7.0.0+\n\n## Download\n- [x] [Stable release](https://github.com/hansemannn/titanium-android-bottom-sheet/releases)\n\n## API's\n\n### `createOptionDialog`\n\n#### Arguments\n\n| Name | Type |\n| - | - |\n| `title` | String |\n| `options` | Array\u003cString\u003e |\n| `cancelable` | Boolean |\n| `destructive`* | Number |\n\n\u003e `*` The `destructive` option is there to mimic the native iOS behavior by tinting the title\nred. Different to iOS, the title will be red if the index is \u003e -1 and is not applied to a single\noption but the title.\n\n#### Events\n\n##### `click`\n\n| Name | Type |\n| - | - |\n| `index` | Number |\n| `cancel` | Boolean |\n\n## Examples\n\n```js\nimport TiBottomSheet from 'ti.bottomsheet';\n\nconst options = TiBottomSheet.createOptionDialog({\n  title: 'Titanium rocks!',\n  options: [ 'Option A', 'Option B' ],\n  cancelable: true\n});\n\noptions.addEventListener('click', event =\u003e {\n  alert(event);\n});\n\noptions.show();\n```\n\n## Build\n```js\ncd android\nti build -p android --build-only\n```\n\n## Legal\n\nCopyright (c) 2019-present by Hans Knöchel. All Rights Reserved.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhansemannn%2Ftitanium-android-bottom-sheet-dialog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhansemannn%2Ftitanium-android-bottom-sheet-dialog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhansemannn%2Ftitanium-android-bottom-sheet-dialog/lists"}