{"id":13714905,"url":"https://github.com/peteschaffner/framer-webview","last_synced_at":"2025-05-07T03:31:05.566Z","repository":{"id":31986672,"uuid":"35557131","full_name":"peteschaffner/framer-webview","owner":"peteschaffner","description":"Web view module for Framer.js","archived":true,"fork":false,"pushed_at":"2015-05-21T14:37:45.000Z","size":5756,"stargazers_count":23,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-22T14:13:08.406Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","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/peteschaffner.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":"2015-05-13T15:26:45.000Z","updated_at":"2024-08-27T16:16:03.000Z","dependencies_parsed_at":"2022-09-07T23:12:59.854Z","dependency_job_id":null,"html_url":"https://github.com/peteschaffner/framer-webview","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/peteschaffner%2Fframer-webview","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peteschaffner%2Fframer-webview/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peteschaffner%2Fframer-webview/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peteschaffner%2Fframer-webview/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/peteschaffner","download_url":"https://codeload.github.com/peteschaffner/framer-webview/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":[],"created_at":"2024-08-03T00:00:51.777Z","updated_at":"2025-05-07T03:31:00.766Z","avatar_url":"https://github.com/peteschaffner.png","language":"HTML","funding_links":[],"categories":["Modules"],"sub_categories":[],"readme":"\n# Framer web view module\n\nA simple web view for your prototyping pleasure.\n\n\u003cimg src=\"preview.gif\" alt=\"Screenshot\" width=\"398\"\u003e\n\n## Usage\n```shell\n$ framer myProject \u0026\n$ cd myProject\n$ npm install --save peteschaffner/framer-webview\n```\n\nindex.js:\n```javascript\nvar Webview = require('framer-webview')\n\nvar webview = new Webview({\n  url: 'https:google.com/design'\n  width: Screen.width,\n  height: Screen.height\n})\n```\n## API\n\n### Webview#url \\\u003cstring\\\u003e\nWeb page you would like to render. Defaults to `'https://google.com/design'`\n\n### Webview#contentHeight \\\u003cnumber\\\u003e\nThe height of the web view’s content. This, together with the `height`, will\neffect the vertical scroll.\n\n**NOTE:** To get the appropriate `contentHeight` for the given `url` open said\n`url` in Chrome, emulate your target device, and run\n`document.body.offsetHeight` in the console. The output should be your\n`contentHeight` value.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeteschaffner%2Fframer-webview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpeteschaffner%2Fframer-webview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeteschaffner%2Fframer-webview/lists"}