aboutsummaryrefslogtreecommitdiff
path: root/doc/frontend.org
blob: 0b5725aa8bf416c40a36d35bbe4e857cc4998756 (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
** Javascript "components"

*** input-list
file:../static/input_list.js

All elements having 'input-list' ∈ =class=

Direct children must all have 'unit' ∈ =class=
One direct child must have 'final' ∈ =class=

binds =get_value= on instances, by default returning the value
of all =<input/>= tags joined by =,=. This can be overwritten with
- =data-joinby= :: Alternative character to join by
- =data-bindby= :: replacement for get_value

TODO: instead, override value?

=addEventList('input',= is overwritten, registering the listener for all input
elements.

*** Popup
Handles popup. Currently rather specific

*** Dragable
file:../static/dragable.js

Manually apply =bind_popup_control= to the statusbar of a floating "window".
Nothing is required from the component, but the "window" must have
'popup-container' ∈ =class=