aboutsummaryrefslogtreecommitdiff
path: root/static/README.md
blob: fe5f775c611d975abdbada0fdc9343a8f25df250 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
The frontend code has its entry-point in `script.ts`.

## web components

All elements are initialized in components.ts

#### Boolean attributes
Some components have properties/accessors which also appears as attributes on
the actuall component (usually with a two-way maping).

For boolean attributes, the attribute is either present or absent.

### General Components
- `components/date-time-input.ts`
- `components/input-list.ts`

### VEvent Components
- `components/vevent.ts`
- `components/changelog.ts`
- `components/edit-rrule.ts`
- `components/popup-element.ts`
- `components/tab-group-element.ts`
- `components/vevent-block.ts`
- `components/vevent-description.ts`
- `components/vevent-dl.ts`
- `components/vevent-edit.ts`

## About our buildsystem

Currently (almost) everything is written in Typescript, and bundled
through browserify. Ideally we would, for debug builds, export the
single transplied Javascript files, but Chromium Chromium lacks
support for modules on XHTML documents
https://bugs.chromium.org/p/chromium/issues/detail?id=717643.
However, seeing as the issue still gets frequent updates as of 2021 I
believe that this might one day get resolved.