{"id":23786006,"url":"https://github.com/pie-framework/embed-pivot","last_synced_at":"2025-10-08T20:20:23.123Z","repository":{"id":38107582,"uuid":"428308438","full_name":"pie-framework/embed-pivot","owner":"pie-framework","description":"embed pivot custom element","archived":false,"fork":false,"pushed_at":"2022-06-10T08:18:30.000Z","size":122,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-08-30T20:43:34.341Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/pie-framework.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":"2021-11-15T15:00:51.000Z","updated_at":"2021-12-02T11:59:02.000Z","dependencies_parsed_at":"2022-09-18T00:41:48.369Z","dependency_job_id":null,"html_url":"https://github.com/pie-framework/embed-pivot","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/pie-framework/embed-pivot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pie-framework%2Fembed-pivot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pie-framework%2Fembed-pivot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pie-framework%2Fembed-pivot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pie-framework%2Fembed-pivot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pie-framework","download_url":"https://codeload.github.com/pie-framework/embed-pivot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pie-framework%2Fembed-pivot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000662,"owners_count":26082817,"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","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2025-01-01T14:10:44.202Z","updated_at":"2025-10-08T20:20:23.106Z","avatar_url":"https://github.com/pie-framework.png","language":"TypeScript","readme":"# Embed pivot\n\nA very simple custom element that renders a pivot iframe.\n\n\n### Install\n\n```shell\nyarn\n```\n\n### Run\n\n```shell\n yarn esbuild src/embed-pivot.ts  --servedir=. --outdir=lib --bundle\n```\nThen go to: http://localhost:8000/dev/\n\n\n### Release\n\n`yarn release`\n\n\n#### release from local machine\n\n```\nyarn build\nyarn semantic-release --no-ci\n```\n\n## Attributes\n\n| Attribute                | Description                                                                                                                                                                                                                \n| ------------------------ | -----------------------------------------------------------\n| data-url                 | the url to load that contains an element definition\n| data-tag                 | the tag name to use for the newly defined custom element                                                                                                                                                                                              \n| data-height              | OPTIONAL: the height for the video                                                                                                                                                                                              \n| data-width               | OPTIONAL: the width for the video                                                                                                                                                                                              \n| data-min-height          | OPTIONAL: the minimum height for the video                                                                                                                                                                                            \n| data-max-height          | OPTIONAL: the maximum height for the video                                                                                                                                                                                              \n| data-min-width           | OPTIONAL: the minimum width for the video                                                                                                                                                                                              \n| data-max-width           | OPTIONAL: the maximum width for the video                                                                                                                                                                                              \n\n\n## Usage\n\n```html\n    \u003cembed-pivot\n     data-pivot-url=\"pivot-url-here\"\n     data-width=\"\"\n     data-height=\"\"\n      data-min-height=\"\"\n      data-max-height=\"\"\n      data-min-width=\"\"\n      data-max-width=\"\"\n    \u003e\u003c/embed-pivot\u003e\n```\nOR\n```html\n    \u003cpie-embed\n     data-tag=\"embed-pivot\"\n     data-url=\"@pie-framework/embed-pivot/lib/embed-pivot.js\"\n     data-pivot-url=\"pivot-url-here\"\n     data-width=\"\"\n     data-height=\"\"\u003e\n     \u003c/pie-embed\u003e\n```\n\n\nFor any page that needs to run pie-embed, you have to load pie-api-components@\u003e=2.2.1. This page: \n\n```shell script\n   \u003cscript\n      type=\"module\"\n      src=\"https://cdn.jsdelivr.net/npm/@pie-api/pie-api-components/dist/pie-api-components/pie-api-components.esm.js\"\n    \u003e\u003c/script\u003e\n```\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpie-framework%2Fembed-pivot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpie-framework%2Fembed-pivot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpie-framework%2Fembed-pivot/lists"}