1
0
mirror of https://github.com/jaandrle/deka-dom-el synced 2024-11-21 23:39:37 +01:00

🐛 docs typo on.disconnected

This commit is contained in:
Jan Andrle 2023-12-04 18:24:59 +01:00
parent 5c3f3e1de1
commit 33e470c799
Signed by: jaandrle
GPG Key ID: B3A25AED155AFFAB

View File

@ -56,7 +56,7 @@ export function page({ pkg, info }){
), ),
el("p").append( el("p").append(
"This listener must be removed when the component is removed from the DOM. To do it, the library", "This listener must be removed when the component is removed from the DOM. To do it, the library",
" assign internally ", el("code", "on.disconnect(/* remove the listener */)(host())"), " to the host element." " assign internally ", el("code", "on.disconnected(/* remove the listener */)(host())"), " to the host element."
), ),
el("p", { className: "notice" }).append( el("p", { className: "notice" }).append(
"The library DOM API and observables works ideally when used declaratively.", "The library DOM API and observables works ideally when used declaratively.",