{"id":16462775,"url":"https://github.com/frankyso/ionic-swipable-segment","last_synced_at":"2025-10-19T03:09:23.875Z","repository":{"id":123741158,"uuid":"163397281","full_name":"frankyso/ionic-swipable-segment","owner":"frankyso","description":"Sliding Segment with merging two component from ionic (Segment, Slides)","archived":false,"fork":false,"pushed_at":"2019-01-02T08:37:08.000Z","size":4,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-02-27T10:00:48.255Z","etag":null,"topics":["directives","ionic-framework","ionic3","sliding"],"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/frankyso.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-12-28T10:21:56.000Z","updated_at":"2019-11-24T07:44:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"b21e9667-a6be-480a-86ef-a1124399a286","html_url":"https://github.com/frankyso/ionic-swipable-segment","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/frankyso/ionic-swipable-segment","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frankyso%2Fionic-swipable-segment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frankyso%2Fionic-swipable-segment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frankyso%2Fionic-swipable-segment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frankyso%2Fionic-swipable-segment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/frankyso","download_url":"https://codeload.github.com/frankyso/ionic-swipable-segment/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frankyso%2Fionic-swipable-segment/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268894452,"owners_count":24324871,"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","status":"online","status_checked_at":"2025-08-05T02:00:12.334Z","response_time":2576,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["directives","ionic-framework","ionic3","sliding"],"created_at":"2024-10-11T11:12:16.409Z","updated_at":"2025-10-19T03:09:18.839Z","avatar_url":"https://github.com/frankyso.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IONIC Sliding Segment (Directive)\n\nThis component using two other component from ionic theres segment and slides. feel free to contribute.\n\n## Getting Started\n\nJust clone this repo, and add it into your project, dont forget to import slide-segment.module.ts module into your app.module.ts\n\n```\nimport { BrowserModule } from '@angular/platform-browser';\nimport { ErrorHandler, NgModule } from '@angular/core';\nimport { IonicApp, IonicErrorHandler, IonicModule } from 'ionic-angular';\n\nimport { MyApp } from './app.component';\nimport { HomePage } from '../pages/home/home';\nimport { ListPage } from '../pages/list/list';\n\nimport { StatusBar } from '@ionic-native/status-bar';\nimport { SplashScreen } from '@ionic-native/splash-screen';\nimport { SlideSegmentDirectiveModule } from '../directives/slide-segment/slide-segment.module';\n\n@NgModule({\n  declarations: [\n    MyApp,\n    HomePage,\n    ListPage\n  ],\n  imports: [\n    BrowserModule,\n    IonicModule.forRoot(MyApp),\n    SlideSegmentDirectiveModule\n  ],\n  bootstrap: [IonicApp],\n  entryComponents: [\n    MyApp,\n    HomePage,\n    ListPage\n  ],\n  providers: [\n    StatusBar,\n    SplashScreen,\n    { provide: ErrorHandler, useClass: IonicErrorHandler }\n  ]\n})\nexport class AppModule { }\n\n```\n\n## Example Code\n```\n\u003cion-header\u003e\n  \u003cion-navbar\u003e\n    \u003cbutton ion-button menuToggle\u003e\n      \u003cion-icon name=\"menu\"\u003e\u003c/ion-icon\u003e\n    \u003c/button\u003e\n    \u003cion-title\u003eHome\u003c/ion-title\u003e\n  \u003c/ion-navbar\u003e\n  \u003cion-segment slide-segment #segment [scrollable-segment]=\"segment\" [segment-container]=\"segmentContainer\" [(ngModel)]=\"section\"\u003e\n    \u003cion-segment-button value=\"082018\"\u003e\n      08/2018\n    \u003c/ion-segment-button\u003e\n    \u003cion-segment-button value=\"092018\"\u003e\n      09/2018\n    \u003c/ion-segment-button\u003e\n    \u003cion-segment-button value=\"102018\"\u003e\n      10/2018\n    \u003c/ion-segment-button\u003e\n    \u003cion-segment-button value=\"112018\"\u003e\n      Bulan lalu\n    \u003c/ion-segment-button\u003e\n    \u003cion-segment-button value=\"122018\"\u003e\n      Bulan ini\n    \u003c/ion-segment-button\u003e\n    \u003cion-segment-button value=\"2019\"\u003e\n      Masa Depan\n    \u003c/ion-segment-button\u003e\n  \u003c/ion-segment\u003e\n\u003c/ion-header\u003e\n\n\u003cion-content\u003e\n  \u003cion-slides #segmentContainer\u003e\n    \u003cion-slide\u003e\n      \u003ch2\u003eSlide 1\u003c/h2\u003e\n    \u003c/ion-slide\u003e\n    \u003cion-slide\u003e\n      \u003ch2\u003eSlide 2\u003c/h2\u003e\n    \u003c/ion-slide\u003e\n    \u003cion-slide\u003e\n      \u003ch2\u003eSlide 3\u003c/h2\u003e\n    \u003c/ion-slide\u003e\n    \u003cion-slide\u003e\n      \u003ch2\u003eSlide 4\u003c/h2\u003e\n    \u003c/ion-slide\u003e\n    \u003cion-slide\u003e\n      \u003ch2\u003eSlide 5\u003c/h2\u003e\n    \u003c/ion-slide\u003e\n    \u003cion-slide\u003e\n      \u003ch2\u003eSlide 6\u003c/h2\u003e\n    \u003c/ion-slide\u003e\n  \u003c/ion-slides\u003e\n\u003c/ion-content\u003e\n```\n\n## Deployment\n\nAdd additional notes about how to deploy this on a live system\n\n\u003c!-- ## Built With\n\n* [Dropwizard](http://www.dropwizard.io/1.0.2/docs/) - The web framework used\n* [Maven](https://maven.apache.org/) - Dependency Management\n* [ROME](https://rometools.github.io/rome/) - Used to generate RSS Feeds --\u003e\n\n\u003c!-- ## Contributing\n\nPlease read [CONTRIBUTING.md](https://gist.github.com/PurpleBooth/b24679402957c63ec426) for details on our code of conduct, and the process for submitting pull requests to us.\n\n## Versioning\n\nWe use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/your/project/tags).  --\u003e\n\n## Authors\n\n* **Franky So** - *Initial work* - [Github](https://github.com/frankyso)\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrankyso%2Fionic-swipable-segment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrankyso%2Fionic-swipable-segment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrankyso%2Fionic-swipable-segment/lists"}