{"id":16485791,"url":"https://github.com/creeperyang/zslider","last_synced_at":"2025-10-27T18:31:14.061Z","repository":{"id":31270332,"uuid":"34832130","full_name":"creeperyang/zSlider","owner":"creeperyang","description":"A pure JavaScript Carousel/Slider plugin that works well at Mobile/PC","archived":false,"fork":false,"pushed_at":"2016-08-13T00:56:07.000Z","size":148,"stargazers_count":12,"open_issues_count":0,"forks_count":6,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-10-13T02:58:32.163Z","etag":null,"topics":["carousel","slider"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/creeperyang.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}},"created_at":"2015-04-30T03:27:11.000Z","updated_at":"2020-09-22T02:48:09.000Z","dependencies_parsed_at":"2022-08-30T20:01:31.056Z","dependency_job_id":null,"html_url":"https://github.com/creeperyang/zSlider","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/creeperyang/zSlider","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creeperyang%2FzSlider","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creeperyang%2FzSlider/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creeperyang%2FzSlider/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creeperyang%2FzSlider/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/creeperyang","download_url":"https://codeload.github.com/creeperyang/zSlider/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creeperyang%2FzSlider/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281319974,"owners_count":26481100,"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-10-27T02:00:05.855Z","response_time":61,"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":["carousel","slider"],"created_at":"2024-10-11T13:27:15.008Z","updated_at":"2025-10-27T18:31:13.744Z","avatar_url":"https://github.com/creeperyang.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# zSlider\n\n\u003e A pure JavaScript Carousel/Slider plugin that works well at Mobile/PC.\n\n## Getting Started\nThis plugin wrote in pure JavaScript and has no dependencies like `jQuery`.\n\nInstall the plugin via bower\n\n```shell\nbower install zSlider --save\n```\n\nOnce the plugin has been installed, you can use it easily:\n\n\n## Usage\n\n### Overview\nYou can just generate a slider with one line:\n\n```js\nvar slider = new Slider('#slider1', '.z-slide-item');\n```\n\n```html\n\u003cdiv class=\"z-slide-wrap top\" id='slider1'\u003e\n    \u003cul class=\"z-slide-content\"\u003e\n        \u003cli class=\"z-slide-item\"\u003e\u003c/li\u003e\n        \u003cli class=\"z-slide-item\"\u003e\u003c/li\u003e\n        \u003cli class=\"z-slide-item\"\u003e\u003c/li\u003e\n    \u003c/ul\u003e\n\u003c/div\u003e\n```\n\n### Options\n\nWhen init with `new Slider(container, slideItems, option);`, a optional config can be used. What can be config?\n\n```js\nvar option = {\n    'current': 0, // which to show when init\n    'duration': 0.8, // animation duration, seconds\n    'minPercentToSlide': null, // percent to decide to slide\n    'autoplay': true, // autoplay?\n    'direction': 'left', // autoplay direction\n    'interval': 5 // seconds\n};\n```\n\n### Usage Examples\n\nThere is a built-in demo:\n\n```shell\ngit clone git@github.com:creeperyang/zSlider.git\ncd zSlider\nnpm install\ngrunt serve\n```\n\n## Release History\n2015-04-30\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;`v0.0.1`\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;init\n\n## License\nCopyright (c) 2015 creeperyang. Licensed under the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcreeperyang%2Fzslider","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcreeperyang%2Fzslider","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcreeperyang%2Fzslider/lists"}