From 33e470c7995ed903071141750216954276392945 Mon Sep 17 00:00:00 2001 From: Jan Andrle Date: Mon, 4 Dec 2023 18:24:59 +0100 Subject: [PATCH] :bug: docs typo `on.disconnected` --- docs_src/p05-scopes.html.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs_src/p05-scopes.html.js b/docs_src/p05-scopes.html.js index 01c0ee3..56aa15d 100644 --- a/docs_src/p05-scopes.html.js +++ b/docs_src/p05-scopes.html.js @@ -56,7 +56,7 @@ export function page({ pkg, info }){ ), el("p").append( "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( "The library DOM API and observables works ideally when used declaratively.",