{"id":15920730,"url":"https://github.com/nickcolley/pwc-marquee","last_synced_at":"2025-03-13T08:42:57.851Z","repository":{"id":66165902,"uuid":"172979309","full_name":"NickColley/pwc-marquee","owner":"NickColley","description":null,"archived":false,"fork":false,"pushed_at":"2023-04-17T12:39:15.000Z","size":27,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-15T16:56:34.688Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://nickcolley.github.io/pwc-marquee/example/","language":"JavaScript","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/NickColley.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-02-27T19:46:31.000Z","updated_at":"2023-04-17T12:39:20.000Z","dependencies_parsed_at":"2023-06-25T23:45:24.118Z","dependency_job_id":null,"html_url":"https://github.com/NickColley/pwc-marquee","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NickColley%2Fpwc-marquee","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NickColley%2Fpwc-marquee/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NickColley%2Fpwc-marquee/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NickColley%2Fpwc-marquee/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NickColley","download_url":"https://codeload.github.com/NickColley/pwc-marquee/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243374211,"owners_count":20280656,"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-10-06T19:41:20.515Z","updated_at":"2025-03-13T08:42:57.818Z","avatar_url":"https://github.com/NickColley.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Progressive Web Component: Marquee\n\nA re-implementation of the [obsolete marquee](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/marquee).\n\nThis is a project done for fun and I would definitely not recommend using this in a real service, as the marquee element was made obsolete for a real reason :).\n\n## How to use\n\n### Use from CDN\n\n```html\n\u003cpwc-marquee\u003eScrolling text is fun\u003c/pwc-marquee\u003e\n\n\u003cscript type=\"module\"\u003e\n    import Marquee from \"https://unpkg.com/pwc-marquee\"\n\n    window.customElements.define('pwc-marquee', Marquee)\n\u003c/script\u003e\n```\n### Install from npm\n\n```bash\nnpm install pwc-marquee\n```\n\n```html\n\u003cpwc-marquee\u003eScrolling text is fun\u003c/pwc-marquee\u003e\n\n\u003cscript type=\"module\"\u003e\n    import Marquee from \"pwc-marquee\"\n\n    window.customElements.define('pwc-marquee', Marquee)\n\u003c/script\u003e\n```\n\n\u003e Note: you can choose what the custom element is called by changing `pwc-marquee` to what you prefer.\n\n## Features\n\n[TODO document what attributes you can use, see example/index.html for now]\n\n## Improvements over the original marquee element\n\n- Smooth rendering cross-browser\n\nThink of a cool effect that could be added?\n\nFeel free to raise an issue or contribute it.\n\n## Progressive Enhancement\n\nAs this is a progressive web component, for browsers that do not support custom elements, it will fallback to regular text.\n\n## To do / Known issues\n\n- implement [marquee events](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/marquee#Event_handlers)\n- implement [marquee methods](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/marquee#Methods)\n- If a user changes the size of their screen, the component does not currently adjust correctly.\n- Consider using shadow DOM to make the HTML output cleaner","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnickcolley%2Fpwc-marquee","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnickcolley%2Fpwc-marquee","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnickcolley%2Fpwc-marquee/lists"}