summaryrefslogtreecommitdiffstats
path: root/history.mjs
diff options
context:
space:
mode:
authorBrian Cully <bjc@spork.org>2025-07-28 08:52:51 -0400
committerBrian Cully <bjc@spork.org>2025-07-28 08:52:51 -0400
commit77f5e81d0a1adc497040eaa89095635f3de3924e (patch)
tree4ad6a00edf5cfe3c5c2bf0090ba80f8d13c143cc /history.mjs
parent2d12e407ccac850dd2e1ce133a2f335677a2ef29 (diff)
downloadchords-77f5e81d0a1adc497040eaa89095635f3de3924e.tar.gz
chords-77f5e81d0a1adc497040eaa89095635f3de3924e.zip
attach octave values to frets
sometimes just do the simple thing
Diffstat (limited to 'history.mjs')
-rw-r--r--history.mjs7
1 files changed, 3 insertions, 4 deletions
diff --git a/history.mjs b/history.mjs
index b7d49ed..e09073a 100644
--- a/history.mjs
+++ b/history.mjs
@@ -18,7 +18,10 @@ export default class extends HTMLElement {
console.debug('History#constructor', this);
this.onClick = e => console.debug('history click', e);
+ }
+ connectedCallback() {
+ console.debug('History#connectedCallback', this);
this.template = this.querySelector('template');
this.list = this.querySelector('ol');
@@ -26,10 +29,6 @@ export default class extends HTMLElement {
this._internals = this.attachInternals();
}
- connectedCallback() {
- console.debug('History#connectedCallback', this);
- }
-
add(fretboard) {
console.debug('History#add', this, fretboard);
this._internals.states.add('fresh');