{"id":23635196,"url":"https://github.com/interactive-pioneers/iptools-jquery-offcanvas","last_synced_at":"2025-08-31T11:30:45.508Z","repository":{"id":57276679,"uuid":"49375873","full_name":"interactive-pioneers/iptools-jquery-offcanvas","owner":"interactive-pioneers","description":"Simple CSS3 animated offcanvas.","archived":false,"fork":false,"pushed_at":"2017-05-11T12:03:20.000Z","size":69,"stargazers_count":2,"open_issues_count":0,"forks_count":5,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-08-16T03:40:54.624Z","etag":null,"topics":["animation","iptools-jquery-offcanvas","jquery","offcanvas"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/interactive-pioneers.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-01-10T16:51:55.000Z","updated_at":"2019-12-29T09:33:23.000Z","dependencies_parsed_at":"2022-08-31T00:01:45.365Z","dependency_job_id":null,"html_url":"https://github.com/interactive-pioneers/iptools-jquery-offcanvas","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/interactive-pioneers/iptools-jquery-offcanvas","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interactive-pioneers%2Fiptools-jquery-offcanvas","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interactive-pioneers%2Fiptools-jquery-offcanvas/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interactive-pioneers%2Fiptools-jquery-offcanvas/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interactive-pioneers%2Fiptools-jquery-offcanvas/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/interactive-pioneers","download_url":"https://codeload.github.com/interactive-pioneers/iptools-jquery-offcanvas/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interactive-pioneers%2Fiptools-jquery-offcanvas/sbom","scorecard":{"id":491195,"data":{"date":"2025-08-11","repo":{"name":"github.com/interactive-pioneers/iptools-jquery-offcanvas","commit":"3b8d2ef40468d5d1c75693eb06de73d52625fbbe"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.5,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 1/20 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: GNU General Public License v3.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 11 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-19T19:12:07.242Z","repository_id":57276679,"created_at":"2025-08-19T19:12:07.242Z","updated_at":"2025-08-19T19:12:07.242Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272973097,"owners_count":25024447,"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-31T02:00:09.071Z","response_time":79,"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":["animation","iptools-jquery-offcanvas","jquery","offcanvas"],"created_at":"2024-12-28T05:31:47.391Z","updated_at":"2025-08-31T11:30:44.969Z","avatar_url":"https://github.com/interactive-pioneers.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# iptools-jquery-offcanvas [![Build Status](https://api.travis-ci.org/interactive-pioneers/iptools-jquery-offcanvas.svg)](https://travis-ci.org/interactive-pioneers/iptools-jquery-offcanvas) [![npm version](https://badge.fury.io/js/iptools-jquery-offcanvas.svg)](https://badge.fury.io/js/iptools-jquery-offcanvas) [![Bower version](https://badge.fury.io/bo/iptools-jquery-offcanvas.svg)](http://badge.fury.io/bo/iptools-jquery-offcanvas)\n\nSimple CSS3 animated offcanvas.\n\n## Related\n\n- [native js version](https://github.com/interactive-pioneers/iptools-offcanvas)\n\n## legacy\n\n- 0.0.2 [documentation](https://github.com/interactive-pioneers/iptools-jquery-offcanvas/blob/master/doc/0.0.2/README.md)\n\n## Features\n\n- Displays content inside an offcanvas from the top, right, bottom or left.\n- Multiple instances at once.\n- Static, instance is open on page load.\n- CSS3 transitions and animations.\n\n## Options\n\nAll options are optional.\n\nName                   | type       | default value                 | values                                     | description\n:----------------------|:-----------|:------------------------------|:-------------------------------------------|:-----------------------------------\n`baseClass`            | `string`   | `offcanvas`                   | valid css class string                     | base css class\n`type`                 | `string`   | `left`                        | `top`, `right`, `bottom`, `left`           | canvas position\n`single`               | `boolean`  | `true`                        |                                            | single mode, closes all other canvases\n`closeOnClickOutside`  | `boolean`  | `false`                       |                                            | close canvas on click outside\n`static`               | `boolean`  | `false`                       |                                            | open after initialization\n`staticCloseCondition` | `function` | `function() { return true; }` | a function returning either true or false  | close condition for static canvas\n\n## Methods\n\nMethod        | Parameter | Return    | Description\n:-------------|:----------|:----------|:-----------\n`getSettings` |           | `object`  | retrieve settings\n`isActive`    |           | `boolean` | returns if canvas is active (open)\n`toggle`      | `boolean` |           | not required. open (true), close (false) or toggle (leave empty)\n`destroy`     |           |           | destroy offcanvas\n\n## Events\n\nEvent pattern: `{eventName}.{elementId}@iptOffCanvas`\n\nEvent                             | Element        | Description\n:---------------------------------|:---------------|:-----------\n`initialized.custom@iptOffCanvas` | this.$element  | Emitted when canvas is ready to use.\n`opened.custom@iptOffCanvas`      | this.$element  | Emitted when the canvas opens.\n`closed.custom@iptOffCanvas`      | this.$element  | Emitted when the canvas closes.\n\n## Requirements\n\n- jQuery \u003e=1.11.3 \u003c4\n\n## Example\n\n```html\n\u003cbutton data-offcanvas-open=\"custom\"\u003eopen\u003c/button\u003e\n\u003cbutton data-offcanvas-close=\"custom\"\u003eclose\u003c/button\u003e\n\u003cbutton data-offcanvas-toggle=\"custom\"\u003etoggle\u003c/button\u003e\n\n\u003csection id=\"custom\" class=\"offcanvas\" style=\"padding:50px;background-color:rgba(0,0,0,0.5);\"\u003e\n  \u003cp\u003econtent\u003c/p\u003e\n  \u003cbutton data-offcanvas-close=\"custom\"\u003eX\u003c/button\u003e\n\u003c/section\u003e\n\n\u003clink rel=\"stylesheet\" href=\"dist/iptools-jquery-offcanvas.css\" type=\"text/css\"\u003e\n\u003cscript src=\"dist/iptools-jquery-offcanvas.min.js\"\u003e\u003c/script\u003e\n\u003cscript type=\"text/javascript\"\u003e\n  $(document).ready(function() {\n\n    // bind\n    $('#custom').iptOffCanvas({\n      baseClass: 'offcanvas',\n      closeOnClickOutside: false,\n      single: true,\n      static: false,\n      staticCloseCondition: function() { return true; },\n      type: 'right'\n    });\n\n    // retrieve settings\n    var settings = $('#custom').data(pluginName).getSettings();\n\n    // check if active (open)\n    var isActive = $('#custom').data(pluginName).isActive();\n\n    // open, close or toggle\n    $('#custom').data(pluginName).toggle(true); // true for open, false to close, leave empty to toggle\n\n    // destroy canvas\n    $('#custom').data(pluginName).destroy();\n\n    // example event listener\n    $('#custom').on('opened.custom@iptOffCanvas', function() {\n      console.log('canvas opened');\n    });\n\n  });\n\u003c/script\u003e\n```\n\n## Licence\n\nCopyright © 2015-2017 Interactive Pioneers GmbH. Licenced under [GPL-3](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finteractive-pioneers%2Fiptools-jquery-offcanvas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finteractive-pioneers%2Fiptools-jquery-offcanvas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finteractive-pioneers%2Fiptools-jquery-offcanvas/lists"}