{"_id":"leaflet-sidebar","_rev":"12-911d064d8f4abd107a7472380c5628b0","name":"leaflet-sidebar","description":"A responsive sidebar plugin for Leaflet","dist-tags":{"latest":"0.2.4","v.0.2.2":"0.2.2"},"versions":{"0.1.6":{"name":"leaflet-sidebar","version":"0.1.6","description":"A responsive sidebar plugin for Leaflet","keywords":["gis","leaflet","map"],"homepage":"https://github.com/turbo87/leaflet-sidebar","bugs":{"url":"https://github.com/turbo87/leaflet-sidebar/issues"},"license":"MIT","author":{"name":"Tobias Bieniek","email":"tobias.bieniek@gmx.de"},"main":"src/L.Control.Sidebar.js","repository":{"type":"git","url":"https://github.com/turbo87/leaflet-sidebar.git"},"scripts":{"test":"gulp lint"},"dependencies":{},"devDependencies":{"gulp":"~3.6.0","gulp-clean":"~0.2.4","gulp-concat":"~2.1.7","gulp-csslint":"~0.1.3","gulp-header":"~0.4.0","gulp-jshint":"~1.3.4","gulp-minify-css":"~0.1.0","gulp-sass":"0.7.1","gulp-rename":"~0.2.2","gulp-uglify":"~0.1.0","gulp-zip":"~0.1.2"},"engines":{"npm":"~1.4.27"},"gitHead":"ab21f2f6422dad73a8d448ec68e0f72a54873989","_id":"leaflet-sidebar@0.1.6","_shasum":"66ce2e0a6fc58b8c77839b6511cb6f58689e722b","_from":".","_npmVersion":"1.4.27","_npmUser":{"name":"zedd45","email":"christopher.keen@gmail.com"},"maintainers":[{"name":"zedd45","email":"christopher.keen@gmail.com"}],"dist":{"shasum":"66ce2e0a6fc58b8c77839b6511cb6f58689e722b","tarball":"https://registry.npmjs.org/leaflet-sidebar/-/leaflet-sidebar-0.1.6.tgz","integrity":"sha512-j9SbwIN4uBgHFDKenUiIggNuQHoc/O4YOp9txlUuEYLmT4bFS1a/jzvKnAPHjnm1zbCG2/SA748lBTd3c354fg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIENuBrL+oTIPwX5r1mBLn/wP3h4Z1C/emVtuAcwaY4WpAiEAxTMxfYv2lGsmbPZ9VOHm+6hqvcVSerliMKbh6YJR6rQ="}]},"directories":{}},"0.1.8":{"name":"leaflet-sidebar","version":"0.1.8","description":"A responsive sidebar plugin for Leaflet","keywords":["gis","leaflet","map"],"homepage":"https://github.com/turbo87/leaflet-sidebar","bugs":{"url":"https://github.com/turbo87/leaflet-sidebar/issues"},"license":"MIT","author":{"name":"Tobias Bieniek","email":"tobias.bieniek@gmx.de"},"main":"src/L.Control.Sidebar.js","repository":{"type":"git","url":"git+https://github.com/turbo87/leaflet-sidebar.git"},"scripts":{"test":"gulp lint"},"dependencies":{},"devDependencies":{"gulp":"~3.6.0","gulp-clean":"~0.2.4","gulp-concat":"~2.1.7","gulp-csslint":"~0.1.3","gulp-header":"~0.4.0","gulp-jshint":"~1.3.4","gulp-minify-css":"~0.1.0","gulp-sass":"2.0.4","gulp-rename":"~0.2.2","gulp-uglify":"~0.1.0","gulp-zip":"~0.1.2"},"gitHead":"5087bb5f8fd0baa8b0d6cdb71d3870dec32afef9","_id":"leaflet-sidebar@0.1.8","_shasum":"dfb63da027474b14856b13027197d39f5a732d77","_from":".","_npmVersion":"3.3.9","_nodeVersion":"0.10.31","_npmUser":{"name":"zedd45","email":"christopher.keen@gmail.com"},"maintainers":[{"name":"zedd45","email":"christopher.keen@gmail.com"}],"dist":{"shasum":"dfb63da027474b14856b13027197d39f5a732d77","tarball":"https://registry.npmjs.org/leaflet-sidebar/-/leaflet-sidebar-0.1.8.tgz","integrity":"sha512-R7D3xw40RJeFxy8DB6cpoBvCCKfj1ngNy1e3Qwb57eElf/SLRP/IkiScHZ03DzhnhTdbtZgASpLf28LweWd6+g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDYdwKXeBfeOb60QNvfkTIWGyFTMoaIdcXHNc7WCsmgkQIgNMQWAy0fQ3t/G5vcEpEKk3INXOTAaDTj7bKnBVUm72M="}]},"directories":{}},"0.1.9":{"name":"leaflet-sidebar","version":"0.1.9","description":"A responsive sidebar plugin for Leaflet","keywords":["gis","leaflet","map"],"homepage":"https://github.com/turbo87/leaflet-sidebar","bugs":{"url":"https://github.com/turbo87/leaflet-sidebar/issues"},"license":"MIT","author":{"name":"Tobias Bieniek","email":"tobias.bieniek@gmx.de"},"main":"src/L.Control.Sidebar.js","repository":{"type":"git","url":"git+https://github.com/turbo87/leaflet-sidebar.git"},"scripts":{"test":"gulp lint"},"dependencies":{},"devDependencies":{"gulp":"~3.6.0","gulp-clean":"~0.2.4","gulp-concat":"~2.1.7","gulp-csslint":"~0.1.3","gulp-header":"~0.4.0","gulp-jshint":"~1.3.4","gulp-minify-css":"~0.1.0","gulp-sass":"2.0.4","gulp-rename":"~0.2.2","gulp-uglify":"~0.1.0","gulp-zip":"~0.1.2"},"gitHead":"70a53dcca90e9613c1ac3c914e50675c0bb3b32b","_id":"leaflet-sidebar@0.1.9","_shasum":"7eab226043119c7936af06cf006f265ce9daeb8c","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.2","_npmUser":{"name":"zedd45","email":"christopher.keen@gmail.com"},"maintainers":[{"name":"zedd45","email":"christopher.keen@gmail.com"}],"dist":{"shasum":"7eab226043119c7936af06cf006f265ce9daeb8c","tarball":"https://registry.npmjs.org/leaflet-sidebar/-/leaflet-sidebar-0.1.9.tgz","integrity":"sha512-OKi65fr9xqY+SXmd+CwEP6H4/5O9lTyJC1KqvbeWlrQwGIOH2kYIXu4swM3MLs6y+Xv7fuIGuU/1mF0fpbVrrg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDiC9uxgjaUDs/r7yMJS+ZD6cEcD95XN6/+rxVWZdbuZQIhAK0fWTac2WkuXLsEmOB9LwW72Hp9XchjKwvAv+2ton8m"}]},"directories":{}},"0.2.0":{"name":"leaflet-sidebar","version":"0.2.0","description":"A responsive sidebar plugin for Leaflet","keywords":["gis","leaflet","map"],"homepage":"https://github.com/turbo87/leaflet-sidebar","bugs":{"url":"https://github.com/turbo87/leaflet-sidebar/issues"},"license":"MIT","author":{"name":"Tobias Bieniek","email":"tobias.bieniek@gmx.de"},"main":"src/L.Control.Sidebar.js","repository":{"type":"git","url":"git+https://github.com/turbo87/leaflet-sidebar.git"},"scripts":{"test":"gulp lint"},"dependencies":{},"devDependencies":{"gulp":"~3.6.0","gulp-clean":"~0.2.4","gulp-concat":"~2.1.7","gulp-csslint":"~0.1.3","gulp-header":"~0.4.0","gulp-jshint":"~1.3.4","gulp-minify-css":"~0.1.0","gulp-sass":"2.0.4","gulp-rename":"~0.2.2","gulp-uglify":"~0.1.0","gulp-zip":"~0.1.2"},"gitHead":"cd5f276b550a77b81d2c086c164f075308c5c809","_id":"leaflet-sidebar@0.2.0","_shasum":"133c1db35dd6d51a602d8e62dba9bc5b066e545a","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.0","_npmUser":{"name":"zedd45","email":"christopher.keen@gmail.com"},"maintainers":[{"email":"tobias.bieniek@gmx.de","name":"turbo87"},{"email":"christopher.keen@gmail.com","name":"zedd45"}],"dist":{"shasum":"133c1db35dd6d51a602d8e62dba9bc5b066e545a","tarball":"https://registry.npmjs.org/leaflet-sidebar/-/leaflet-sidebar-0.2.0.tgz","integrity":"sha512-uXrDvxMHgo8t7PJASPP6kAw9yU5wzYB6BG1u3kvlHMgKVLn9KLT5F7Md9FBzUly/8ZxUcmRA3PqSqWhJ8e6XtA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC2Vh9V84gaxrQjQ1/oLE3R8o+m60RMw0mXSM8z1xMdXQIhAPwZelRo99oiSQrPruv4cTSMLkD4gNB3zdiH661KVbGP"}]},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/leaflet-sidebar-0.2.0.tgz_1500899510265_0.2712532370351255"},"directories":{}},"0.2.2":{"name":"leaflet-sidebar","version":"0.2.2","description":"A responsive sidebar plugin for Leaflet","keywords":["gis","leaflet","map"],"homepage":"https://github.com/turbo87/leaflet-sidebar","bugs":{"url":"https://github.com/turbo87/leaflet-sidebar/issues"},"license":"MIT","author":{"name":"Tobias Bieniek","email":"tobias.bieniek@gmx.de"},"main":"src/L.Control.Sidebar.js","repository":{"type":"git","url":"git+https://github.com/turbo87/leaflet-sidebar.git"},"scripts":{"test":"gulp lint"},"dependencies":{},"devDependencies":{"gulp":"~3.6.0","gulp-clean":"~0.2.4","gulp-concat":"~2.1.7","gulp-csslint":"~0.1.3","gulp-header":"~0.4.0","gulp-jshint":"~1.3.4","gulp-minify-css":"~0.1.0","gulp-sass":"2.0.4","gulp-rename":"~0.2.2","gulp-uglify":"~0.1.0","gulp-zip":"~0.1.2"},"readme":"# leaflet-sidebar\n\nA responsive sidebar plugin for [Leaflet](http://leafletjs.com/), a JS library for interactive maps.\n\nPlease also have a look at [sidebar-v2](https://github.com/Turbo87/sidebar-v2), the tabbed successor of this library.\n\n<a href=\"https://flattr.com/submit/auto?user_id=turbo&url=https%3A%2F%2Fgithub.com%2FTurbo87%2Fleaflet-sidebar\" target=\"_blank\"><img src=\"https://api.flattr.com/button/flattr-badge-large.png\" alt=\"Flattr this\" title=\"Flattr this\" border=\"0\"></a>\n\n\n## Examples\n\n![Basic example](leaflet-sidebar.gif)\n\nExamples are available in the `examples` folder and on Github Pages:\n\n* [Basic example](http://turbo87.github.io/leaflet-sidebar/examples/)\n* [mapbox.js listing-markers example](http://turbo87.github.io/leaflet-sidebar/examples/listing-markers.html)\n* [Example with 2 sidebars](http://turbo87.github.io/leaflet-sidebar/examples/two-sidebars.html)\n\n\n## Using the plugin\n\nSee the included examples for usage.\n\n\n### Usage\n\nAdd a content container somewhere in your document:\n\n~~~~html\n<div id=\"sidebar\">\n    <h1>leaflet-sidebar</h1>\n</div>\n~~~~\n\nCreate a new `L.Control.Sidebar` and add it to the map:\n\n~~~~javascript\nvar sidebar = L.control.sidebar('sidebar', {\n    position: 'left'\n});\n\nmap.addControl(sidebar);\n~~~~\n\nThe sidebar will be hidden on startup, use the following methods to show or hide it:\n\n~~~~javascript\n// Show sidebar\nsidebar.show();\n\n// Hide sidebar\nsidebar.hide();\n\n// Toggle sidebar visibility\nsidebar.toggle();\n\n// Check sidebar visibility\nvar visible = sidebar.isVisible();\n~~~~\n\nIf you want the sidebar to be visible on startup use the following snippet after adding it to the map:\n\n~~~~javascript\nsetTimeout(function () {\n    sidebar.show();\n}, 500);\n~~~~\n\nDo not call `show()` directly after adding the control to the map. The `setTimeout` will work around some CSS quirks for you.\n\nThe content of the sidebar can be changed dynamically:\n\n~~~~javascript\nsidebar.setContent('test <b>test</b> test');\n~~~~\n\nIf you need more flexibility you can use `sidebar.getContainer()` to get the content container element or use e.g. jQuery on the `<div id=\"sidebar\">` element.\n\n\n### Options\n\nThe sidebar can be configured with these options:\n\n- **position**: Can be `left` (default) or `right` and shouldn't need explaining.\n- **closeButton**: Can be `true` (default) or `false`. If `true` a close button will be added to the sidebar.\n- **autoPan**: Can be `true` (default) or `false`. If `true` the map will be shifted when the sidebar is shown.\n\n\n### Events\n\nWhenever the visibility of the sidebar is changed, an event is fired on the sidebar instance. You can listen for these events like this:\n\n~~~~javascript\nsidebar.on('hidden', function () {\n    console.log('Sidebar is now hidden.');\n});\n~~~~\n\nAvailable events:\n\n- **show**: Show animation is starting, sidebar will be visible.\n- **shown**: Show animation finished, sidebar is now visible.\n- **hide**: Hide animation is starting, sidebar will be hidden.\n- **hidden**: Hide animation finished, sidebar is now hidden.\n\nNote that the `shown` and `hidden` events depend on `transitionend`/`webkitTransitionEnd` which might not be supported by all browsers yet.\n\n\n## Compatibility\n\nleaflet-sidebar was developed to work with Leaflet 0.6.4 and should work fine\nwith v0.7 too. I have no information whether it works well with older versions.\n\nThe leaflet-sidebar plugin has been tested on the following systems and browsers:\n\n- Ubuntu: Firefox, Chrome\n- Mac OS X: Firefox, Chrome, Safari\n- Android 4.3: Firefox, Chrome, Opera\n- iOS: Safari\n- Windows XP: Internet Explorer 6 (failed!)\n\n\n## License\n\nleaflet-sidebar is free software, and may be redistributed under the [MIT license](LICENSE).\n","readmeFilename":"README.md","gitHead":"8bb7074930189198d989136c61f85ff083b371aa","_id":"leaflet-sidebar@0.2.2","_nodeVersion":"10.15.3","_npmVersion":"6.11.3","dist":{"integrity":"sha512-So29eH7CwC0P+Se9uqJ1cPzRwOSJaWZnpd7Mfz/VE0z+AfYKuZdtM4QwRkJ+HI7eJTsPKT1673kfseobkcffEA==","shasum":"d88e9efe9f2a84c39b97c79d0deb4acb8f785e08","tarball":"https://registry.npmjs.org/leaflet-sidebar/-/leaflet-sidebar-0.2.2.tgz","fileCount":24,"unpackedSize":709733,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeaDwNCRA9TVsSAnZWagAA164P/3ubdsKV/quZP3Fa4mkD\nYWxVBVPE8P6yzlNYTYcwD65J4KAFXHARjrmcqfWSrGwHWph9rLavzdXKHE51\nshtUzGi2ZyJHdndQFwhnt03rkqqjSL2bptmRPpPMTCr2zx933ZW/gtxrAl4i\nbH5EWzVcu8ZDHhZRFI4KURpHhBcH1dP1ntWJljd1hacszjumoJGoX16UScgR\nipVnokqL0IowXN/JDlAHW4koMRb6o0hgPqfOWODkcQ/eRr5AWTpl95T241Sd\nGo7vinRBLUC/XT6+xZjkfqspZ/bNqxKLnkQV5dfENtnEEDyiB9sdK1L4Dwvt\nt5HY6ADjoqqWzYEMeA7aoVpDJd4a9pBykxuiC7juaKsbNxy3ciSlwAm2+QSj\n08F9hy9TKroLHamfBww8Hz97tB+vAiMJGeKMSXbY5Y70nBxXCpt5o2G+v9Ic\n9O5ektrduTnYpfJWoa3BPcwHFF3AZ1QSAVHzilRe3BDgQW/6BEQp4E5Zwvli\n/EAuZNRQEFm8iM6TzdijVmtvO5hmKwNZMSPnQ/NJucDMO9Z1Zg6NGqVGgPWW\n6LzvZ5zb1AeEqY+igMjMCBskhyp+wUyZjaW6+QXrqmi+q7AucIS4CqU1p/g/\nqzHXbx+sfml01LSoNcm3BRREXU7qVZKoX/Dh/Z3RBcBa5flewlsVwAUdsokY\nVjWQ\r\n=P0Vu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCBh47rzrRUtk5MAfbvaPdRgrBEWSrhmMSSQQ//yFWhngIhALqqxfPfGraYBYXNpOy+VJnKxBD0V3c375jZr0MUXb/t"}]},"maintainers":[{"email":"tobias.bieniek@gmx.de","name":"turbo87"},{"email":"christopher.keen@gmail.com","name":"zedd45"}],"_npmUser":{"name":"zedd45","email":"christopher.keen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/leaflet-sidebar_0.2.2_1583889421163_0.697616958614538"},"_hasShrinkwrap":false},"0.2.3":{"name":"leaflet-sidebar","version":"0.2.3","description":"A responsive sidebar plugin for Leaflet","keywords":["gis","leaflet","map"],"homepage":"https://github.com/turbo87/leaflet-sidebar","bugs":{"url":"https://github.com/turbo87/leaflet-sidebar/issues"},"license":"MIT","author":{"name":"Tobias Bieniek","email":"tobias.bieniek@gmx.de"},"main":"src/L.Control.Sidebar.js","repository":{"type":"git","url":"git+https://github.com/turbo87/leaflet-sidebar.git"},"scripts":{"test":"gulp lint"},"dependencies":{},"devDependencies":{"gulp":"~3.6.0","gulp-clean":"~0.2.4","gulp-concat":"~2.1.7","gulp-csslint":"~0.1.3","gulp-header":"~0.4.0","gulp-jshint":"~1.3.4","gulp-minify-css":"~0.1.0","gulp-sass":"2.0.4","gulp-rename":"~0.2.2","gulp-uglify":"~0.1.0","gulp-zip":"~0.1.2"},"gitHead":"8be0e9541d4598f3a4322d00d62c10b6f9a0e79b","_id":"leaflet-sidebar@0.2.3","_nodeVersion":"14.13.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-8htAj29aYYv7n/Pi/TiqIFiNXGj6YiQzK+TDJMc+bo4a+FLL3jKAXITKTGqaSviJ7a64GTSbgg/XTD2DGX06KQ==","shasum":"0191dd85a67276cd0200724936142e32fc8fda93","tarball":"https://registry.npmjs.org/leaflet-sidebar/-/leaflet-sidebar-0.2.3.tgz","fileCount":26,"unpackedSize":703824,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgB1L+CRA9TVsSAnZWagAA6GkP/3WP5+ptTIfefR8JBTyv\nYQ0MbMvF9hib6U53s2MwLpvJx3M2zKXkridqa57zobqHITUBf9oV8lP8+WXA\naIIhj4s0ScGi4Mm5PfyHO5Vn64+yLvfuvb6XkyCoq0nsou3AAVhy6g0POiju\nL1iZesj8e0+XkZwT3jQ9Yjd3wYb4iiLSwY62VynrO1GmyBdpf1/65GayljML\ndsG2QuOUcsCUGamtqEICmukuRBHfqoM+6FWH23QSaFmGZG5qH9IOTzo1KrUO\nGbhpY0e+kfln06DLa3qZKLysIC2iYtSMZXV4XPN+GFDR1ia0mqWyg3x53WO4\nX0Inpz06Rat5syPArV1x78R54R8KPkvAXo1R05tbmfTbd8O/9ERVEq8GnTMX\nk82BDynkcye/531JvvCes01xmrxeII2+1x9a7qSVvy6bOHVugtfB0D8JxyQG\ntDxCjI6lUYoSHwz9evflUKckCZd0GgEpnmnGFRDIORK84z18y3jgqF4uNuZO\nKg/Fv2DZN4rCl4Y35FoYsrTasbmWDAoMAXH389guU+7cGhsP6LUggtf/ia1j\nmQvK7YDggafok/L2fDHcEVH4eHbD91IxITES5WQ+VN0Sjc7HVBgoapG1ilJm\nS75qlL9mKpFC00Vi2Rjj12mOD33hRwPaf/N55LbeSpFsvOqGdwVWXycO/Wf2\nQzm2\r\n=nb2y\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAtRoWbQHs0zwmfSAgP9XeTMhlKB6FYRKQNm2lS7gkA+AiAIFib2P6n9oXVlJSRd9lKsCwkxwpQZQ5w7fzISy9QBoQ=="}]},"_npmUser":{"name":"zedd45","email":"christopher.keen@gmail.com"},"directories":{},"maintainers":[{"name":"turbo87","email":"tobias.bieniek@gmail.com"},{"name":"zedd45","email":"christopher.keen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/leaflet-sidebar_0.2.3_1611092734201_0.24438459857756123"},"_hasShrinkwrap":false},"0.2.4":{"name":"leaflet-sidebar","version":"0.2.4","description":"A responsive sidebar plugin for Leaflet","keywords":["gis","leaflet","map"],"homepage":"https://github.com/turbo87/leaflet-sidebar","bugs":{"url":"https://github.com/turbo87/leaflet-sidebar/issues"},"license":"MIT","author":{"name":"Tobias Bieniek","email":"tobias.bieniek@gmx.de"},"main":"src/L.Control.Sidebar.js","repository":{"type":"git","url":"git+https://github.com/turbo87/leaflet-sidebar.git"},"scripts":{"test":"gulp lint"},"dependencies":{},"devDependencies":{"gulp":"~3.6.0","gulp-clean":"~0.2.4","gulp-concat":"~2.1.7","gulp-csslint":"~0.1.3","gulp-header":"~0.4.0","gulp-jshint":"~1.3.4","gulp-minify-css":"~0.1.0","gulp-sass":"2.0.4","gulp-rename":"~0.2.2","gulp-uglify":"~0.1.0","gulp-zip":"~0.1.2"},"gitHead":"43cbdf0b8eea6bbc1f2c7e8f39814933f6599d8c","_id":"leaflet-sidebar@0.2.4","_nodeVersion":"14.13.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-vMGJLDKOF+Qm2hKULslRfQLMVbuqRxPyZXLAuMLp95aM9/qpXgtj8kYvPna77qMAfjZTInFOojprUGTeBHL5Fg==","shasum":"2d972ba1dc416c02fb5450fbf3cf67630bc23e8a","tarball":"https://registry.npmjs.org/leaflet-sidebar/-/leaflet-sidebar-0.2.4.tgz","fileCount":18,"unpackedSize":699880,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgB1evCRA9TVsSAnZWagAAUNUQAKAUphjaS/pY9AN0ygqL\nAui49aq3W6EfL6v4rSmQHT3Kbb9c+zQD/ezZTHLpa8NKaa/+vt8547Y3Wh7f\nm4q+WBCigC+aLxIqAJN/P6XLFNQ0MLCycAS7fmXnih+3sFwA+AjwSOWNXKYR\n3gK0cMKSEpc1buZIsap4LRFOKgjmVvd7ysdF/tuDeks+yOvAGB3hRXceuBTT\nEpiXwarb2vIKFkd/SR2US+bSt147ypdWiFgUHEf28w7c4CtxyPxlhvU1zSbY\nj4xn8kCfDpjTOsYc+n8bOkHZJgqa7/Dc2In6m2UbotEZyYTfisuvXFLYyBiA\n62kSSIE/7o1oRa7LcdOw1ZJKjLxU0KNNdwt2UiKEtzvbWBWP2KQGuJ9gtgir\nUA9MzbN6o8/B7JEyvdHZngBMw/dPNEA8brF8U4b0+Okpa5rog2UxBalV3iO+\nb/rkW/F2qx57uj55h6lj636GW6bW/M96CCape3paTvofhPUpUuu5FiBhQc/t\np98G9DiJwM6DPvhe96kPUSI0fslRv+oXwVOXSAOxyx+/oPTryq4XAyoISTWX\nBvroen3vR3WiFLv0W4EVWipT6bpJPFVF2zIb6sEwdRBqoVdYcSvrhHU/KJAc\nksKsMIihhFF5Vmru4o9BR8H4l1SOYG+KS4Kr/af347nVuHDPXGwGZ+mNxbVy\nYJNW\r\n=ZDy2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDW8LoAhrExD+PutOful7b1PLqIu7tJAnz5TOTDW6vv6AIgBIsKYmHWcxxalz0SEPVEXkRzI/N2afNAQk6vvdV4KDw="}]},"_npmUser":{"name":"zedd45","email":"christopher.keen@gmail.com"},"directories":{},"maintainers":[{"name":"turbo87","email":"tobias.bieniek@gmail.com"},{"name":"zedd45","email":"christopher.keen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/leaflet-sidebar_0.2.4_1611093934888_0.37059157375158436"},"_hasShrinkwrap":false}},"readme":"# leaflet-sidebar\n\nA responsive sidebar plugin for [Leaflet](http://leafletjs.com/), a JS library for interactive maps.\n\nPlease also have a look at [sidebar-v2](https://github.com/Turbo87/sidebar-v2), the tabbed successor of this library.\n\n<a href=\"https://flattr.com/submit/auto?user_id=turbo&url=https%3A%2F%2Fgithub.com%2FTurbo87%2Fleaflet-sidebar\" target=\"_blank\"><img src=\"https://api.flattr.com/button/flattr-badge-large.png\" alt=\"Flattr this\" title=\"Flattr this\" border=\"0\"></a>\n\n\n## Examples\n\n![Basic example](leaflet-sidebar.gif)\n\nExamples are available in the `examples` folder and on Github Pages:\n\n* [Basic example](http://turbo87.github.io/leaflet-sidebar/examples/)\n* [mapbox.js listing-markers example](http://turbo87.github.io/leaflet-sidebar/examples/listing-markers.html)\n* [Example with 2 sidebars](http://turbo87.github.io/leaflet-sidebar/examples/two-sidebars.html)\n\n\n## Using the plugin\n\nSee the included examples for usage.\n\n\n### Usage\n\nAdd a content container somewhere in your document:\n\n~~~~html\n<div id=\"sidebar\">\n    <h1>leaflet-sidebar</h1>\n</div>\n~~~~\n\nCreate a new `L.Control.Sidebar` and add it to the map:\n\n~~~~javascript\nvar sidebar = L.control.sidebar('sidebar', {\n    position: 'left'\n});\n\nmap.addControl(sidebar);\n~~~~\n\nThe sidebar will be hidden on startup, use the following methods to show or hide it:\n\n~~~~javascript\n// Show sidebar\nsidebar.show();\n\n// Hide sidebar\nsidebar.hide();\n\n// Toggle sidebar visibility\nsidebar.toggle();\n\n// Check sidebar visibility\nvar visible = sidebar.isVisible();\n~~~~\n\nIf you want the sidebar to be visible on startup use the following snippet after adding it to the map:\n\n~~~~javascript\nsetTimeout(function () {\n    sidebar.show();\n}, 500);\n~~~~\n\nDo not call `show()` directly after adding the control to the map. The `setTimeout` will work around some CSS quirks for you.\n\nThe content of the sidebar can be changed dynamically:\n\n~~~~javascript\nsidebar.setContent('test <b>test</b> test');\n~~~~\n\nIf you need more flexibility you can use `sidebar.getContainer()` to get the content container element or use e.g. jQuery on the `<div id=\"sidebar\">` element.\n\n\n### Options\n\nThe sidebar can be configured with these options:\n\n- **position**: Can be `left` (default) or `right` and shouldn't need explaining.\n- **closeButton**: Can be `true` (default) or `false`. If `true` a close button will be added to the sidebar.\n- **autoPan**: Can be `true` (default) or `false`. If `true` the map will be shifted when the sidebar is shown.\n\n\n### Events\n\nWhenever the visibility of the sidebar is changed, an event is fired on the sidebar instance. You can listen for these events like this:\n\n~~~~javascript\nsidebar.on('hidden', function () {\n    console.log('Sidebar is now hidden.');\n});\n~~~~\n\nAvailable events:\n\n- **show**: Show animation is starting, sidebar will be visible.\n- **shown**: Show animation finished, sidebar is now visible.\n- **hide**: Hide animation is starting, sidebar will be hidden.\n- **hidden**: Hide animation finished, sidebar is now hidden.\n\nNote that the `shown` and `hidden` events depend on `transitionend`/`webkitTransitionEnd` which might not be supported by all browsers yet.\n\n\n## Compatibility\n\nleaflet-sidebar was developed to work with Leaflet 0.6.4 and should work fine\nwith v0.7 too. I have no information whether it works well with older versions.\n\nThe leaflet-sidebar plugin has been tested on the following systems and browsers:\n\n- Ubuntu: Firefox, Chrome\n- Mac OS X: Firefox, Chrome, Safari\n- Android 4.3: Firefox, Chrome, Opera\n- iOS: Safari\n- Windows XP: Internet Explorer 6 (failed!)\n\n\n## License\n\nleaflet-sidebar is free software, and may be redistributed under the [MIT license](LICENSE).\n","maintainers":[{"name":"turbo87","email":"tobias.bieniek@gmail.com"},{"name":"zedd45","email":"christopher.keen@gmail.com"}],"time":{"modified":"2022-06-19T11:15:01.025Z","created":"2015-03-07T22:46:55.296Z","0.1.6":"2015-03-07T22:46:55.296Z","0.1.8":"2015-10-26T19:05:08.458Z","0.1.9":"2016-01-20T21:49:23.609Z","0.2.0":"2017-07-24T12:31:51.840Z","0.2.2":"2020-03-11T01:17:01.350Z","0.2.3":"2021-01-19T21:45:34.359Z","0.2.4":"2021-01-19T22:05:35.146Z"},"homepage":"https://github.com/turbo87/leaflet-sidebar","keywords":["gis","leaflet","map"],"repository":{"type":"git","url":"git+https://github.com/turbo87/leaflet-sidebar.git"},"author":{"name":"Tobias Bieniek","email":"tobias.bieniek@gmx.de"},"bugs":{"url":"https://github.com/turbo87/leaflet-sidebar/issues"},"license":"MIT","readmeFilename":"README.md"}