{"id":13835371,"url":"https://github.com/madetech/jquery-navobile","last_synced_at":"2025-04-12T12:07:43.489Z","repository":{"id":6384400,"uuid":"7622046","full_name":"madetech/jquery-navobile","owner":"madetech","description":"A jQuery plugin that makes mobile navigation easy.","archived":false,"fork":false,"pushed_at":"2016-09-19T13:35:00.000Z","size":1103,"stargazers_count":154,"open_issues_count":2,"forks_count":36,"subscribers_count":62,"default_branch":"master","last_synced_at":"2025-03-26T06:51:07.852Z","etag":null,"topics":["jquery","navigation"],"latest_commit_sha":null,"homepage":"https://madetech.github.io/jquery-navobile","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/madetech.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":"2013-01-15T09:33:30.000Z","updated_at":"2024-08-15T07:30:29.000Z","dependencies_parsed_at":"2022-09-01T23:12:00.290Z","dependency_job_id":null,"html_url":"https://github.com/madetech/jquery-navobile","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madetech%2Fjquery-navobile","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madetech%2Fjquery-navobile/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madetech%2Fjquery-navobile/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madetech%2Fjquery-navobile/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/madetech","download_url":"https://codeload.github.com/madetech/jquery-navobile/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248565063,"owners_count":21125416,"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":["jquery","navigation"],"created_at":"2024-08-04T14:01:00.521Z","updated_at":"2025-04-12T12:07:43.469Z","avatar_url":"https://github.com/madetech.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"#jQuery navobile\n\nFor full documentation please see the demo page.\n\n[![Build Status](https://travis-ci.org/madetech/jquery-navobile.png?branch=master)](https://travis-ci.org/madetech/jquery-navobile)\n\n###Demo\n\n[View live demo](http://madetech.github.io/jquery-navobile)\n\n###Usage\n\n`$('#foobar').navobile();`\n\nThe css required for the plugin is [here](https://raw.github.com/madetech/jquery-navobile/master/src/jquery.navobile.css) because its always better to control styling in CSS where possible.\n\n###Params\n\nThere are a few parameters for the plugin, they are mostly optional.\n\n* cta - the element that will open the navigation on click (default: '#show-navigation')\n* content - the selector that wraps the content that will slide out (default: '#content')\n* direction - the direction and therefore side that the content slides (default: 'ltr')\n* easing - jQuery easing function to use in $.animate fallback (default: 'linear') for more easing options you will require [jQuery.easing](http://gsgd.co.uk/sandbox/jquery/easing/)\n* changeDOM - Boolean, whether the plugin needs to move the navigation in the DOM structure (default: false)\n* copyBoundEvents - Boolean, if changeDOM is true, whether to or not to copy across any bound events (default: false)\n* openOffsetLeft - String, the percentage you want navobile to open (default: '80%') N.B. If you alter this you will also need to change the width of [.navobile-navigation](https://github.com/madebymade/jquery-navobile/blob/master/src/jquery.navobile.css#L40)\n* hammerOptions - a Javascript object containing the options detailed here: https://github.com/EightMedia/hammer.js/wiki/Getting-Started#gesture-options. Only needed if you are using bindSwipe/bindDrag (default: {})\n\n###Events\n\nThere are a handful of useful events fired by navobile.\n\n* navobile:open - fired when the navigation cta is tapped and navobile is hidden\n* navobile:opened - fired when the navobile is fully open\n* navobile:close - fired when the navigation cta is tapped and navobile is visible\n* navobile:closed - fired when the navobile is fully closed\n\nAll of these are triggered on the document, below is a jQuery example:\n\n```\n$(document).bind('navobile:open', function() {alert('navobile is opening')});\n```\n\n###Credits\n\nDeveloped and maintained by [Made](http://www.madetech.com?ref=github\u0026repo=navobile).\n\n[![made](https://s3-eu-west-1.amazonaws.com/made-assets/googleapps/google-apps.png)](http://www.madetech.com?ref=github\u0026repo=navobile)\n\nKey contributions:\n\n* [Seb Ashton](https://github.com/sebashton)\n\n###License\n\nLicensed under [New BSD License](https://github.com/madetech/jquery-navobile/blob/master/BSD-LICENSE.txt)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmadetech%2Fjquery-navobile","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmadetech%2Fjquery-navobile","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmadetech%2Fjquery-navobile/lists"}