summaryrefslogtreecommitdiffstats
path: root/notes.org
diff options
context:
space:
mode:
authorBrian Cully <bjc@spork.org>2025-05-12 09:52:18 -0400
committerBrian Cully <bjc@spork.org>2025-05-12 09:52:18 -0400
commit9353c94aedf64384afdcef3bc9cffbcc6e348d73 (patch)
tree44bd1d274859dfea8df5a95aba45b630d80d9e12 /notes.org
parent6ca6c457227b2cb46ae45b4990b60d06ca33589e (diff)
downloadchords-9353c94aedf64384afdcef3bc9cffbcc6e348d73.tar.gz
chords-9353c94aedf64384afdcef3bc9cffbcc6e348d73.zip
convert to web components
one less thing to hard-code: element ids, which were brittle already.
Diffstat (limited to 'notes.org')
-rw-r--r--notes.org6
1 files changed, 6 insertions, 0 deletions
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 |
|------------+-----------+------+----------|