From 9353c94aedf64384afdcef3bc9cffbcc6e348d73 Mon Sep 17 00:00:00 2001 From: Brian Cully Date: Mon, 12 May 2025 09:52:18 -0400 Subject: convert to web components one less thing to hard-code: element ids, which were brittle already. --- notes.org | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'notes.org') diff --git a/notes.org b/notes.org index 82d94de..01cb344 100644 --- a/notes.org +++ b/notes.org @@ -1,3 +1,9 @@ +* convert to web components +https://developer.mozilla.org/en-US/docs/Web/API/Web_components +** don't trawl dom when setting up behavior +since it's a custom element, we should know its exact layout at all +times, so ~querySelector~ shouldn't be necessary. + * well-tempered scale | semi-tones | freq | just | interval | |------------+-----------+------+----------| -- cgit v1.3