{"id":20654995,"url":"https://github.com/jsonfm/jsqt","last_synced_at":"2026-04-24T07:33:23.902Z","repository":{"id":63828064,"uuid":"570355279","full_name":"jsonfm/jsqt","owner":"jsonfm","description":"A library to wrap DOM elements with an API similar to Qt/PyQt.","archived":false,"fork":false,"pushed_at":"2023-03-23T02:31:17.000Z","size":855,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-29T17:06:07.114Z","etag":null,"topics":["cdn","dom","javascript","typescript","web"],"latest_commit_sha":null,"homepage":"","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/jsonfm.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-11-25T01:27:16.000Z","updated_at":"2024-12-24T06:14:35.000Z","dependencies_parsed_at":"2024-10-24T07:08:12.855Z","dependency_job_id":"15490d45-9480-41f8-9b87-09ff7c565d5f","html_url":"https://github.com/jsonfm/jsqt","commit_stats":{"total_commits":13,"total_committers":1,"mean_commits":13.0,"dds":0.0,"last_synced_commit":"6032962c07e4fe892b6b707c4dc0a18267060c9f"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jsonfm/jsqt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsonfm%2Fjsqt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsonfm%2Fjsqt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsonfm%2Fjsqt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsonfm%2Fjsqt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jsonfm","download_url":"https://codeload.github.com/jsonfm/jsqt/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsonfm%2Fjsqt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32214415,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T03:15:14.334Z","status":"ssl_error","status_checked_at":"2026-04-24T03:15:11.608Z","response_time":64,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["cdn","dom","javascript","typescript","web"],"created_at":"2024-11-16T18:08:05.984Z","updated_at":"2026-04-24T07:33:23.872Z","avatar_url":"https://github.com/jsonfm.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"### JSQT\nA library for wrap DOM elements with an API similar to Qt/PyQt.\n\n### CDN\n```\n\u003cscript src=\"https://cdn.jsdelivr.net/npm/jsqt@0.0.1/dist/jsqt.umd.js\"\u003e\u003c/script\u003e\n```\n\n### Button\n```js\nconst button = new jsqt.Button(\"some-element-id\");\nbutton.on(\"click\", () =\u003e console.log(\"clicked!\"));\n```\n\n### Toggle\n```js\nconst led = new jsqt.Toggle(\"some-element-id\", \"onClass\", \"offClass\");\nconsole.log(\"led is checked:\", led.isChecked());\n```\n\n### Label\n```js\nconst label = new jsqt.Label(\"some-element-id\");\nlabel.setText(\"some text!\");\n\nconsole.log(\"text label: \", label.text());\nlabel.clear(); // clears the label\n```\n\n### Dial \n```js\nconst dial = new jsqt.Dial(\"dial\");\nconst label = new jsqt.Label(\"label\");\n\nconst dialChange = () =\u003e {\n  const text = `Angle: ${dial.angle().toFixed(2)}`;\n  label.setText(text);\n}\n\n// Events\ndial.on(\"change\", dialChange);\ndial.on(\"pressed\", () =\u003e console.log(\"Dial was pressed!\"));\ndial.on(\"release \", () =\u003e console.log(\"Dial was released!\"));\n```\n\n\n### Base\n```js\nconst element = new Base('some-element-id');\n\nelement.setValue(3.1416);\nconsole.log(\"value: \", element.value());\n\nelement.setEnabled(true);\nconsole.log(\"I'm enabled: \", element.isEnabled()); // true\nelement.setEnabled(false);\nconsole.log(\"I'm enabled: \", element.isEnabled()); // true\n\n```\n\n\n### License\nMIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsonfm%2Fjsqt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjsonfm%2Fjsqt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsonfm%2Fjsqt/lists"}