{"id":20514103,"url":"https://github.com/webreflection/lighterhtml-plus","last_synced_at":"2025-04-14T00:05:33.446Z","repository":{"id":65993222,"uuid":"224353208","full_name":"WebReflection/lighterhtml-plus","owner":"WebReflection","description":"It's lighterhtml with `onconnected`, `ondisconnected`, and `onattributechanged` events","archived":false,"fork":false,"pushed_at":"2020-08-24T10:16:33.000Z","size":272,"stargazers_count":30,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-31T15:43:32.463Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WebReflection.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}},"created_at":"2019-11-27T05:41:36.000Z","updated_at":"2024-05-14T18:41:28.000Z","dependencies_parsed_at":"2023-07-13T10:30:16.450Z","dependency_job_id":null,"html_url":"https://github.com/WebReflection/lighterhtml-plus","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebReflection%2Flighterhtml-plus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebReflection%2Flighterhtml-plus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebReflection%2Flighterhtml-plus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebReflection%2Flighterhtml-plus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WebReflection","download_url":"https://codeload.github.com/WebReflection/lighterhtml-plus/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232797486,"owners_count":18577981,"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-11-15T21:14:47.458Z","updated_at":"2025-01-06T23:12:49.404Z","avatar_url":"https://github.com/WebReflection.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lighterhtml-plus\n\n[![Build Status](https://travis-ci.com/WebReflection/lighterhtml-plus.svg?branch=master)](https://travis-ci.com/WebReflection/lighterhtml-plus) ![WebReflection status](https://offline.report/status/webreflection.svg) [![License: ISC](https://img.shields.io/badge/License-ISC-yellow.svg)](https://opensource.org/licenses/ISC)\n\nThis is exactly [lighterhtml](https://github.com/WebReflection/lighterhtml#readme), plus:\n\n  * `onconnected` callback, as in [hyperHTML](https://github.com/WebReflection/hyperHTML#hyperhtml), to have Custom Elements like callbacks\n  * `ondisconnected` callback, as in [hyperHTML](https://github.com/WebReflection/hyperHTML#hyperhtml), to have counter events when nodes get disconnected\n  * `onattributechanged` callback, as in [wickedElements](https://github.com/WebReflection/wicked-elements#wickedelements), to have attributes change notifications, Custom Elements like\n\n[Live test](https://webreflection.github.io/lighterhtml-plus/test/)\n\n**[V4 Breaking Changes](https://github.com/WebReflection/lighterhtml#v4-breaking-changes)**\n\n```js\nimport {render, html} from 'lighterhtml-plus';\n\nrender(document.body, html`\n  \u003cdiv\n    onconnected=${event =\u003e console.log('connected')}\n    ondisconnected=${event =\u003e console.log('disconnected')}\n    onattributechanged=${({\n      attributeName,\n      oldValue,\n      newValue\n    }) =\u003e console.log('changed')}\n  \u003e\n    lighterhtml-plus 🎉\n  \u003c/div\u003e\n`);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebreflection%2Flighterhtml-plus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebreflection%2Flighterhtml-plus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebreflection%2Flighterhtml-plus/lists"}