{"id":15374141,"url":"https://github.com/io-developer/js-resizable","last_synced_at":"2025-04-15T15:10:41.239Z","repository":{"id":19360154,"uuid":"22599969","full_name":"io-developer/js-resizable","owner":"io-developer","description":"Vanilla JS dom element resizing","archived":false,"fork":false,"pushed_at":"2017-11-24T11:52:36.000Z","size":6,"stargazers_count":7,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-28T21:38:00.974Z","etag":null,"topics":["dom","drag-drop","element","javascript","native","resizable","resize"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/io-developer.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-08-04T10:12:31.000Z","updated_at":"2024-06-25T00:22:35.000Z","dependencies_parsed_at":"2022-07-23T03:04:42.659Z","dependency_job_id":null,"html_url":"https://github.com/io-developer/js-resizable","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/io-developer%2Fjs-resizable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/io-developer%2Fjs-resizable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/io-developer%2Fjs-resizable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/io-developer%2Fjs-resizable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/io-developer","download_url":"https://codeload.github.com/io-developer/js-resizable/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249094932,"owners_count":21211837,"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":["dom","drag-drop","element","javascript","native","resizable","resize"],"created_at":"2024-10-01T13:57:24.396Z","updated_at":"2025-04-15T15:10:41.217Z","avatar_url":"https://github.com/io-developer.png","language":"JavaScript","readme":"# resizable\n\nPure JS resizing for any binded DOM element.\nYou can mixin behavior with lib __js-dragndrop__\n\n## Example\n```html\n\u003c!doctype html\u003e\n\u003chtml\u003e\n\u003chead\u003e\n    \u003cscript type=\"text/javascript\" src=\"resizable.js\"\u003e\u003c/script\u003e\n    \u003cscript type=\"text/javascript\"\u003e\n        resizable.initOnDocumentReady();\n    \u003c/script\u003e\n    \u003cstyle\u003e\n        .js-resizable {\n            -moz-user-select: none;\n            -o-user-select: none;\n            -khtml-user-select: none;\n            -webkit-user-select: none;\n            -ms-user-select: none;\n            user-select: none;\n        }\n        .js-resizable-corner {\n            position: absolute;\n            right: 0px;\n            bottom: 0px;\n            width: 10px;\n            height: 10px;\n            background: #000;\n        }\n        .outer {\n            display: block;\n            position: relative;\n            width: 640px;\n            height: 480px;\n            margin: 20px;\n            background-color: #EEE;\n        }\n        .inner {\n            display: block;\n            position: absolute;\n            min-width: 100px;\n            min-height: 50px;\n            padding: 20px;\n        }\n        .inner--1 {\n            left: 100px;\n            top: 100px;\n            width: 300px;\n            height: 200px;\n            background-color: #b1b1ff;\n        }\n        .inner--2 {\n            left: 100px;\n            top: 50px;\n            background-color: #92f192;\n        }\n        .inner--3 {\n            left: 400px;\n            top: 200px;\n            background-color: #ec7777;\n        }\n    \u003c/style\u003e\n\u003c/head\u003e\n\u003cbody\u003e\n    \u003cdiv class=\"outer js-resizable-limiter\"\u003e\n        \u003cdiv class=\"inner inner--1 js-resizable js-resizable-limiter\"\u003e\n            Content A\n            \n            \u003cdiv class=\"inner inner--2 js-resizable\"\u003e\n                Sub-content A\n            \u003c/div\u003e\n        \u003c/div\u003e\n        \u003cdiv class=\"inner inner--3 js-resizable\"\u003e\n            Content B\n        \u003c/div\u003e\n    \u003c/div\u003e\n\u003c/body\u003e\n\u003c/html\u003e\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fio-developer%2Fjs-resizable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fio-developer%2Fjs-resizable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fio-developer%2Fjs-resizable/lists"}