{"id":17244532,"url":"https://github.com/fumito-ito/angular-draggable","last_synced_at":"2026-03-09T18:37:54.085Z","repository":{"id":19587019,"uuid":"22837225","full_name":"fumito-ito/angular-draggable","owner":"fumito-ito","description":"angularjs plugin for draggable (and resizable) directive.","archived":false,"fork":false,"pushed_at":"2015-07-18T15:38:43.000Z","size":249,"stargazers_count":1,"open_issues_count":4,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-10T15:46:16.358Z","etag":null,"topics":[],"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/fumito-ito.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":"2014-08-11T11:48:27.000Z","updated_at":"2018-04-06T01:15:56.000Z","dependencies_parsed_at":"2022-08-23T19:00:39.619Z","dependency_job_id":null,"html_url":"https://github.com/fumito-ito/angular-draggable","commit_stats":null,"previous_names":["fumitoito/angular-draggable"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fumito-ito%2Fangular-draggable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fumito-ito%2Fangular-draggable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fumito-ito%2Fangular-draggable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fumito-ito%2Fangular-draggable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fumito-ito","download_url":"https://codeload.github.com/fumito-ito/angular-draggable/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245585810,"owners_count":20639671,"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":[],"created_at":"2024-10-15T06:18:57.659Z","updated_at":"2025-12-12T03:28:39.080Z","avatar_url":"https://github.com/fumito-ito.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Angular Draggable\n=====\n\nDraggable and Resizable element as [AngularJS](https://angularjs.org/) directive.\n\n## Example\n\n- [jsdo.it](http://jsdo.it/fumito_ito/fhYt)\n- [Plunker](http://plnkr.co/edit/7sADZkqVI6LIUIixTwns?p=preview)\n\n## Usage\n\nsetup in HTML\n\n    \u003cscript src=\"path/to/angular.js\"\u003e\u003c/script\u003e\n\t\u003cscript src=\"path/to/angular-draggable/js/main.js\"\u003e\u003c/script\u003e\n    \u003cscript\u003e\n      angular.module('sample', ['angular-draggable', function () {}]);\n\t\u003c/script\u003e\n\nuse with div\n\n    \u003cdiv draggable\u003e\n\t  \u003cp\u003eDraggable Content\u003c/p\u003e\n\t\u003c/div\u003e\n\nor element.\n\n    \u003cdraggable\u003e\n\t  \u003cp\u003eDraggable Content\u003c/p\u003e\n\t\u003c/draggable\u003e\n\nYou can use some options.\n\n    \u003cdiv draggable [option name]=\"[option value]\"\u003e\u003c/div\u003e\n\n## Options\n\n#### lockx\n\n*boolean*\n\nIf true, element only move with y-axis.\n\n#### locky\n\n*boolean*\n\nIf true, element only move with x-axis.\n\n#### resizex\n\n*boolean*\n\nIf true, element can be resized with x-axis.\n\n#### resizey\n\n*boolean*\n\nIf true, element can be resized with y-axis.\n\n#### left\n\n*number*\n\ndefault position of left. (This library ignore css properties `top` and `left`)\n\n#### top\n\n*number*\n\ndefault position of top. (This library ignore css properties `top` and `left`)\n\n## Install\n\n*bower.json*\n\n    \"dependencies\": { \"angular-draggable\": \"git@github.com:fumitoito/angular-draggable.git\" }\n\nand run install script\n\n    $ bower install\n\n## License\n\nThe MIT License (MIT)\nCopyright (c) 2014 [fumitoito](https://github.com/fumitoito)\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffumito-ito%2Fangular-draggable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffumito-ito%2Fangular-draggable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffumito-ito%2Fangular-draggable/lists"}