{"id":13714913,"url":"https://github.com/karlerikjonatan/framer-module-fill","last_synced_at":"2025-05-07T03:31:03.630Z","repository":{"id":29385327,"uuid":"32920337","full_name":"karlerikjonatan/framer-module-fill","owner":"karlerikjonatan","description":"A fill module for Framer.","archived":false,"fork":false,"pushed_at":"2015-09-03T12:15:41.000Z","size":2028,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-14T02:06:33.534Z","etag":null,"topics":["framer"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":false,"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/karlerikjonatan.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":"2015-03-26T10:12:47.000Z","updated_at":"2024-05-14T14:47:48.000Z","dependencies_parsed_at":"2022-09-06T16:51:25.121Z","dependency_job_id":null,"html_url":"https://github.com/karlerikjonatan/framer-module-fill","commit_stats":null,"previous_names":["karlerikjonatan/framer.module.fill"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karlerikjonatan%2Fframer-module-fill","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karlerikjonatan%2Fframer-module-fill/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karlerikjonatan%2Fframer-module-fill/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karlerikjonatan%2Fframer-module-fill/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/karlerikjonatan","download_url":"https://codeload.github.com/karlerikjonatan/framer-module-fill/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252806414,"owners_count":21807199,"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":["framer"],"created_at":"2024-08-03T00:00:51.875Z","updated_at":"2025-05-07T03:31:01.429Z","avatar_url":"https://github.com/karlerikjonatan.png","language":"JavaScript","funding_links":[],"categories":["Modules"],"sub_categories":[],"readme":"# framer.module.fill\nframer.module.fill is a fill module for Framer.\n\n![framer.module.fill](https://raw.githubusercontent.com/karlerikjonatan/framer.module.fill/master/screenshot.png)\n\n## Installation\nAdd ```fill.coffee``` to the /modules folder of your project.\n\n## Usage\nTo include the module within your project, add the following:\n\n``` coffeescript\nfill = require \"fill\"\n```\n\nframer.module.fill consists of the methods ```pattern```, ```video``` and accepts the parameters ```layer```, ```src```.\n\n#### pattern\n``` coffeescript\n# Repeats on x-axis and y-axis\nfill.pattern(layer, src)\n```\nThe ```layer``` and ```src``` parameters defines the layer to fill and the source to fill it with.\n\nFill source could either be local or external of type [image/*](http://en.wikipedia.org/wiki/Internet_media_type#Type_image).\n\n#### video\n``` coffeescript\nfill.video(layer, src)\n```\nThe ```layer``` and ```src``` parameters defines the layer to fill and the source to fill it with.\n\nFill source could either be local or external of type [video/*](http://en.wikipedia.org/wiki/Internet_media_type#Type_video).\n\n### Example\n``` coffeescript\n# Module\nfill = require \"fill\"\n\n# Layers\nlayerA = new Layer()\nlayerB = new Layer()\n\n# Fill\nfill.pattern(layerA, \"path/to/image.jpg\")\nfill.video(layerB, \"path/to/video.mp4\")\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkarlerikjonatan%2Fframer-module-fill","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkarlerikjonatan%2Fframer-module-fill","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkarlerikjonatan%2Fframer-module-fill/lists"}