diff options
author | Joris | 2023-02-13 15:25:56 +0100 |
---|---|---|
committer | Joris | 2023-02-13 21:34:38 +0100 |
commit | ffca3dfb15f37999d2b751c5b62a90ead65201a3 (patch) | |
tree | 62f2b0429ea6f8aaa328d41da7b623439142e75b /src/view/layout.ts | |
parent | a1960c7e10691e460b835446bb358c27e971fba8 (diff) | |
download | chords-ffca3dfb15f37999d2b751c5b62a90ead65201a3.tar.gz chords-ffca3dfb15f37999d2b751c5b62a90ead65201a3.tar.bz2 chords-ffca3dfb15f37999d2b751c5b62a90ead65201a3.zip |
Use rx to update the view
Diffstat (limited to 'src/view/layout.ts')
-rw-r--r-- | src/view/layout.ts | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/view/layout.ts b/src/view/layout.ts deleted file mode 100644 index ac62290..0000000 --- a/src/view/layout.ts +++ /dev/null @@ -1,13 +0,0 @@ -import h from 'lib/h' -import * as dom from 'lib/dom' -import * as form from 'view/form' - -export function view(main: Element): Element[] { - return [ - h('header', - { onclick: () => dom.show(form.view()) }, - 'Chords' - ), - main - ] -} |