-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtodo.txt
48 lines (31 loc) · 1.07 KB
/
todo.txt
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
37
38
39
40
41
42
43
44
45
46
47
TO-DO:
- new data types to use in send-as and receive-as:
- boolean
- date
- time
- iso-date
OK- include fetchOptions in register()'s options
- include fetch timeout in fetchOptions
- send-prop with multiple properties, in order.
-> send-as is repeated for every property if not declared ?
-> send-to with more than one element receive all the properties, or the properties in order?
- send-on with multiple events, in order
- headers for all http-related properties
- e.g.: headers="{ 'X-Foo': 'Bar' }"
- on-receive with async function
OK- send property that encapsulates all send-xxx?
send="data-href|click|main|text"
but what about send-element? Use {} to encapsulate the query selector?
send="{#foo}|click|main"
send="props OR {element}|actions|targets|format"
OK- form - offer support to send-as="json" method="..."
<form method="PUT action="..." send-as="json" > ?
- on-mutate ?
- http-post-json
- http-put-json
- http-patch-json
- http-delete
👇
- send-on="viewport" (once)
- send-on="visible" (once)
- send-on="enabled" (once)