{"id":18614757,"url":"https://github.com/andrewjbateman/ionic-angular-slidedrawer","last_synced_at":"2025-11-03T03:30:27.741Z","repository":{"id":39206988,"uuid":"244601070","full_name":"AndrewJBateman/ionic-angular-slidedrawer","owner":"AndrewJBateman","description":":clipboard: Tutorial app that uses a slide drawer component to try out Ionic gestures. Tutorial code from Josh Morony","archived":false,"fork":false,"pushed_at":"2024-03-28T20:58:02.000Z","size":2883,"stargazers_count":1,"open_issues_count":4,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-27T02:44:36.606Z","etag":null,"topics":["angular","angular16","gestures","ionic","ionic-angular","ionic-gestures","josh-morony","slide-drawer","tutorial-code"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AndrewJBateman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2020-03-03T10:00:15.000Z","updated_at":"2023-11-07T10:18:19.000Z","dependencies_parsed_at":"2023-11-07T11:27:16.655Z","dependency_job_id":"cea5426a-23b3-4378-af71-ebbc88bce693","html_url":"https://github.com/AndrewJBateman/ionic-angular-slidedrawer","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/AndrewJBateman%2Fionic-angular-slidedrawer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fionic-angular-slidedrawer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fionic-angular-slidedrawer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fionic-angular-slidedrawer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AndrewJBateman","download_url":"https://codeload.github.com/AndrewJBateman/ionic-angular-slidedrawer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239406449,"owners_count":19633024,"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","angular16","gestures","ionic","ionic-angular","ionic-gestures","josh-morony","slide-drawer","tutorial-code"],"created_at":"2024-11-07T03:26:53.513Z","updated_at":"2025-11-03T03:30:27.689Z","avatar_url":"https://github.com/AndrewJBateman.png","language":"TypeScript","readme":"# :zap: Ionic Slide Drawer\n\n* App to display a vertical slide drawer that raises to full height with an Ionic swipe Gesture, using the [Ionic framework](https://ionicframework.com/docs) and [Capacitor](https://capacitor.ionicframework.com/).\n* Code from [Joshua Morony](https://www.youtube.com/channel/UCbVZdLngJH6KOJvpAOO3qTw) - see [:clap: Inspiration](#clap-inspiration) below\n* **Note:** to open web links in a new window use: _ctrl+click on link_\n\n![GitHub repo size](https://img.shields.io/github/repo-size/AndrewJBateman/ionic-angular-slidedrawer?style=plastic)\n![GitHub pull requests](https://img.shields.io/github/issues-pr/AndrewJBateman/ionic-angular-slidedrawer?style=plastic)\n![GitHub Repo stars](https://img.shields.io/github/stars/AndrewJBateman/ionic-angular-slidedrawer?style=plastic)\n![GitHub last commit](https://img.shields.io/github/last-commit/AndrewJBateman/ionic-angular-slidedrawer?style=plastic)\n\n* [:zap: Ionic Slide Drawer](#zap-ionic-slide-drawer)\n  * [:books: General info](#books-general-info)\n  * [:camera: Screenshots](#camera-screenshots)\n  * [:signal\\_strength: Technologies](#signal_strength-technologies)\n  * [:floppy\\_disk: Setup](#floppy_disk-setup)\n  * [:computer: Code Examples](#computer-code-examples)\n  * [:cool: Features](#cool-features)\n  * [:clipboard: Status \\\u0026 To-do list](#clipboard-status--to-do-list)\n  * [:clap: Inspiration](#clap-inspiration)\n  * [:file\\_folder: License](#file_folder-license)\n  * [:envelope: Contact](#envelope-contact)\n\n## :books: General info\n\n* Updated to the latest Angular \u0026 Ionic versions, all dependencies updated\n* Uses [Ionic Gestures](https://ionicframework.com/docs/v3/components/#gestures) to activate drawer\n\n## :camera: Screenshots\n\n![screen print](./img/drawer.png)\n\n## :signal_strength: Technologies\n\n* [Ionic/angular v7](https://ionicframework.com/)\n* [Angular v16](https://angular.io/)\n* [Ionic Gestures](https://ionicframework.com/docs/utilities/gestures)\n\n## :floppy_disk: Setup\n\n* Load dependencies using `npm i`,\n* To start the server on _localhost://8100_ type: `ionic serve`\n\n## :computer: Code Examples\n\n* extract from slide-drawer.component.ts: options: GestureConfig\n\n```typescript\n/*if gesture pulls drawer up more than 200px then drawer is raised all the way to the top of the ion-card-content (500px)\nNote: Y axis is 0 at top and positions below 0 are negative values.*/\nonEnd: ev =\u003e {\n  this.renderer.setStyle(\n    this.element.nativeElement,\n    'transition',\n    '0.3s ease-out'\n  );\n\n  if(ev.deltaY \u003c -200) {\n    this.renderer.setStyle(\n      this.element.nativeElement,\n      'transform',\n      `translateY(-450px)`\n    );\n  } else {\n    this.renderer.setStyle(\n      this.element.nativeElement,\n      'transform',\n      `translateY(0px)`\n    );\n  }\n}\n```\n\n## :cool: Features\n\n* Uses a swipe gesture to open a drawer. Custom gestures and interactions can be created.\n\n## :clipboard: Status \u0026 To-do list\n\n* Status: working.\n* To-do: nothing.\n\n## :clap: Inspiration\n\n* [Joshua Morony Youtube video: SLIDE DRAWER WITH IONIC GESTURES - Ionic UI Challenge #3](https://www.youtube.com/watch?v=AW80XVSOLZg\u0026t=28s).\n* [Josh Morony website](https://www.joshmorony.com/)\n\n## :file_folder: License\n\n* N/A\n\n## :envelope: Contact\n\n* Repo created by [ABateman](https://github.com/AndrewJBateman), email: `gomezbateman@yahoo.com`\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewjbateman%2Fionic-angular-slidedrawer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrewjbateman%2Fionic-angular-slidedrawer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewjbateman%2Fionic-angular-slidedrawer/lists"}