{"id":18425370,"url":"https://github.com/burnpiro/reveal-pointer","last_synced_at":"2025-06-13T18:33:35.643Z","repository":{"id":91873613,"uuid":"344614000","full_name":"burnpiro/reveal-pointer","owner":"burnpiro","description":"RevealJS Mouse Pointer plugin","archived":false,"fork":false,"pushed_at":"2022-09-18T07:09:52.000Z","size":91,"stargazers_count":18,"open_issues_count":3,"forks_count":7,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-22T21:22:46.174Z","etag":null,"topics":["mouse-pointer","mouse-tracking","reveal-js-plugin","revealjs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/burnpiro.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-03-04T21:27:13.000Z","updated_at":"2024-07-23T07:59:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"a6742710-fa9a-421a-9a30-55e645cd2519","html_url":"https://github.com/burnpiro/reveal-pointer","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/burnpiro%2Freveal-pointer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/burnpiro%2Freveal-pointer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/burnpiro%2Freveal-pointer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/burnpiro%2Freveal-pointer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/burnpiro","download_url":"https://codeload.github.com/burnpiro/reveal-pointer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247687946,"owners_count":20979571,"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":["mouse-pointer","mouse-tracking","reveal-js-plugin","revealjs"],"created_at":"2024-11-06T05:03:42.256Z","updated_at":"2025-04-07T16:31:43.081Z","avatar_url":"https://github.com/burnpiro.png","language":"JavaScript","readme":"# RevealJS pointer plugin (1.5KB gzipped)\n\nChanges your mouse into a pointer when necessary. [Demo](https://burnpiro.github.io/presentation-template/#/1) (\"q\", `18px`, `red`).\n\n\u003e This plugin only works with [RevealJS](https://revealjs.com/) `v4.x` or higher.\n\nNo external dependencies, __only 2.6KB  | \u003c1.5KB gzipped__.\n\n## Installation\n\nCopy `dist/pointer.js` into `plugins/pointer/pointer.js` and import script:\n\n```html\n[...]\n\u003cscript src=\"plugin/pointer/pointer.js\"\u003e\u003c/script\u003e\n[...]\n```\n\nCopy `dist/pointer.css` into `plugins/pointer/pointer.css` and import style in `\u003chead\u003e\u003c/head\u003e`:\n\n```html\n[...]\n\u003clink rel=\"stylesheet\" href=\"plugin/pointer/pointer.css\" /\u003e\n[...]\n```\n\nAdd `RevealPointer` into your plugins initialization:\n\n```javascript\nplugins: [RevealPointer];\n```\n\n### Config\n\nYou can configure pointer key and tail length in plugin config.\n\n```javascript\nReveal.initialize({\n  pointer: {\n    key: \"q\", // key to enable pointer, default \"q\", not case-sensitive\n    color: \"red\", // color of a cursor, default \"red\" any valid CSS color\n    opacity: 0.8, // opacity of cursor, default 0.8\n    pointerSize: 12, // pointer size in px, default 12\n    alwaysVisible: false, // should pointer mode be always visible? default \"false\"\n    tailLength: 10, // NOT IMPLEMENTED YET!!! how long the \"tail\" should be? default 10\n  }\n})\n```\n\nList of available keys:\n\n\u003e [\"0\", \"1\", \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", \"8\", \"9\", \"backspace\", \"tab\", \"enter\", \"shift\", \"ctrl\", \"alt\", \"pausebreak\", \"capslock\", \"esc\", \"space\", \"pageup\", \"pagedown\", \"end\", \"home\", \"leftarrow\", \"uparrow\", \"rightarrow\", \"downarrow\", \"insert\", \"delete\", \"a\", \"b\", \"c\", \"d\", \"e\", \"f\", \"g\", \"h\", \"i\", \"j\", \"k\", \"l\", \"m\", \"n\", \"o\", \"p\", \"q\", \"r\", \"s\", \"t\", \"u\", \"v\", \"w\", \"x\", \"y\", \"z\", \"leftwindowkey\", \"rightwindowkey\", \"selectkey\", \"numpad0\", \"numpad1\", \"numpad2\", \"numpad3\", \"numpad4\", \"numpad5\", \"numpad6\", \"numpad7\", \"numpad8\", \"numpad9\", \"multiply\", \"add\", \"subtract\", \"decimalpoint\", \"divide\", \"f1\", \"f2\", \"f3\", \"f4\", \"f5\", \"f6\", \"f7\", \"f8\", \"f9\", \"f10\", \"f11\", \"f12\", \"numlock\", \"scrolllock\", \"semicolon\", \"equalsign\", \"comma\", \"dash\", \"period\", \"forwardslash\", \"graveaccent\", \"openbracket\", \"backslash\", \"closebracket\", \"singlequote\"]\n\n## Developing\n\nMake changes in `src/plugin.js` and run:\n\n```bash\nnpm run build\n```\n\nThis is going to produce `dist/pointer.js` with bundled iife file.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fburnpiro%2Freveal-pointer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fburnpiro%2Freveal-pointer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fburnpiro%2Freveal-pointer/lists"}