{"id":19346810,"url":"https://github.com/juicy/juicy-iframe","last_synced_at":"2025-02-24T09:43:12.747Z","repository":{"id":58245039,"uuid":"41810899","full_name":"Juicy/juicy-iframe","owner":"Juicy","description":"custom element that lets you stamp inline or external HTML into an iframe. It also provides simple data binding, that works for native JS/HTML as well as for Polymer's dom-bind","archived":false,"fork":false,"pushed_at":"2017-07-24T08:05:29.000Z","size":10,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":12,"default_branch":"master","last_synced_at":"2024-09-26T09:26:26.640Z","etag":null,"topics":["plain-js"],"latest_commit_sha":null,"homepage":"http://juicy.github.io/juicy-iframe/examples/index.html","language":"HTML","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/Juicy.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":"2015-09-02T15:54:05.000Z","updated_at":"2018-04-09T07:19:29.000Z","dependencies_parsed_at":"2022-08-30T22:51:48.344Z","dependency_job_id":null,"html_url":"https://github.com/Juicy/juicy-iframe","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Juicy%2Fjuicy-iframe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Juicy%2Fjuicy-iframe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Juicy%2Fjuicy-iframe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Juicy%2Fjuicy-iframe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Juicy","download_url":"https://codeload.github.com/Juicy/juicy-iframe/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240457945,"owners_count":19804489,"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":["plain-js"],"created_at":"2024-11-10T04:12:35.921Z","updated_at":"2025-02-24T09:43:12.695Z","avatar_url":"https://github.com/Juicy.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u0026lt;juicy-iframe\u0026gt;\n==============\n\n`\u003cjuicy-iframe\u003e` is a custom element that lets you stamp inline or external HTML into an iframe.\nIt also provides simple data binding, that works for native JS/HTML as well as for Polymer's `dom-bind`.\n\n## Demo/Examples\n\n[Check it live!](http://juicy.github.io/juicy-iframe/examples/index.html)\n\n## Install\n\nInstall the component using [Bower](http://bower.io/):\n\n```sh\n$ bower install juicy-iframe --save\n```\n\nOr [download as ZIP](https://github.com/Juicy/juicy-iframe/archive/master.zip).\n\n## Usage\n\n1. Import Web Components' polyfill, if needed:\n\n\t```html\n\t\u003cscript src=\"bower_components/webcomponentsjs/webcomponents.js\"\u003e\n    ```\n\n2. Import Custom Element:\n\n    ```html\n    \u003clink rel=\"import\" href=\"bower_components/juicy-iframe/juicy-iframe.html\"\u003e\n    ```\n\n3. Start using it!\n\n    ```html\n    \u003ctemplate is=\"juicy-iframe\" content=\"./your/partial.html\"\u003e\u003c/template\u003e\n    ```\n\n## Options/Attributes\n\nAttribute    | Options           | Default     | Description\n---          | ---               | ---         | ---\n`content`    | *String*\t\t     | `\"\"`\t       | Safe HTML code, or path (starts with `/` or `./`) to partial to be loaded.\n`model`      | *String* or *Object* | `undefined` | Data model to attach to stamped iframe.\n\n## [Contributing and Development](CONTRIBUTING.md)\n\n## History\n\nFor detailed changelog, check [Releases](https://github.com/Juicy/juicy-iframe/releases).\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuicy%2Fjuicy-iframe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjuicy%2Fjuicy-iframe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuicy%2Fjuicy-iframe/lists"}