{"id":14965812,"url":"https://github.com/alizahid/slinky","last_synced_at":"2025-05-16T01:07:25.782Z","repository":{"id":16050487,"uuid":"18794497","full_name":"alizahid/slinky","owner":"alizahid","description":"A light-weight, responsive, mobile-like navigation menu plugin","archived":false,"fork":false,"pushed_at":"2023-01-04T01:16:26.000Z","size":2899,"stargazers_count":673,"open_issues_count":30,"forks_count":108,"subscribers_count":18,"default_branch":"master","last_synced_at":"2025-05-08T12:05:57.586Z","etag":null,"topics":["babel","css","es6","javascript","jquery","menu","mobile","navigation","plugin","sass","webpack","yarn"],"latest_commit_sha":null,"homepage":"https://slinky.js.org","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"MinerKasch/HadoopWithPython","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alizahid.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}},"created_at":"2014-04-15T09:26:51.000Z","updated_at":"2025-04-02T05:26:37.000Z","dependencies_parsed_at":"2023-01-13T18:40:43.753Z","dependency_job_id":null,"html_url":"https://github.com/alizahid/slinky","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alizahid%2Fslinky","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alizahid%2Fslinky/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alizahid%2Fslinky/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alizahid%2Fslinky/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alizahid","download_url":"https://codeload.github.com/alizahid/slinky/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254448579,"owners_count":22072764,"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":["babel","css","es6","javascript","jquery","menu","mobile","navigation","plugin","sass","webpack","yarn"],"created_at":"2024-09-24T13:35:21.817Z","updated_at":"2025-05-16T01:07:20.769Z","avatar_url":"https://github.com/alizahid.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"![](./slinky.png)\n\n# Slinky\n\nRather sweet menus\n\nA light-weight, responsive, mobile-like navigation menu plugin\n\n### [Demo](https://alizahid.github.io/slinky/)\n\n## Installation\n\nDownload the [latest version](https://github.com/alizahid/slinky/releases). The files you need are\n\n- [dist/slinky.min.js](dist/slinky.min.js)\n- [dist/slinky.min.css](dist/slinky.min.css)\n\n### Bower\n\n```\nbower install jquery-slinky\n```\n\nInclude these files\n\n```html\n\u003clink rel=\"stylesheet\" src=\"bower_components/slinky/dist/slinky.min.css\" /\u003e\n\u003cscript src=\"bower_components/slinky/dist/slinky.min.js\"\u003e\u003c/script\u003e\n```\n\n### NPM\n\n```\nnpm install jquery-slinky\n```\n\nInclude these files\n\n```html\n\u003clink rel=\"stylesheet\" src=\"node_modules/slinky/dist/slinky.min.css\" /\u003e\n\u003cscript src=\"node_modules/slinky/dist/slinky.min.js\"\u003e\u003c/script\u003e\n```\n\n## Usage\n\n```javascript\nconst slinky = $('.menu').slinky(options)\n```\n\n## Options\n\n| Option   | Default                | Description                                       |\n| -------- | ---------------------- | ------------------------------------------------- |\n| `resize` | `true`                 | Resize menu height to match content on navigation |\n| `speed`  | `300`                  | Animation speed in `milliseconds`                 |\n| `theme`  | `slinky-theme-default` | Slinky theme                                      |\n| `title`  | `false`                | Show title of sub menu                            |\n\n## API\n\n### `.home(animate)`\n\nNavigate back to the root menu\n\n| Option    | Default value | Description                    |\n| --------- | ------------- | ------------------------------ |\n| `animate` | `true`        | Pass `false` to skip animation |\n\n### `.jump(target, animate)`\n\nNavigate to a sub menu\n\n| Option    | Default value | Description                         |\n| --------- | ------------- | ----------------------------------- |\n| `to`      |               | Selector for `ul` target to jump to |\n| `animate` | `true`        | Pass `false` to skip animation      |\n\n### `.destroy()`\n\nRemove Slinky\n\n## Tips\n\n- Set `.active` on a `ul` element to jump there on init\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falizahid%2Fslinky","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falizahid%2Fslinky","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falizahid%2Fslinky/lists"}