-
Notifications
You must be signed in to change notification settings - Fork 1
/
todo.txt
83 lines (64 loc) · 1.4 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
58.6kb
/////////////
https://joshuajohnson.co.uk/Choices/
input as search
grouped list
add to list
custom loader
createDocumentFragment
add inside choosy
choosy heaer city selction hover, header image change
movie list - left right section - on hover a item show cast in right section
//////////////////
let hostRef = overlay({className:'overlay'}).host(comp,{elative:'global'|HTMLElement})
hostRef.open();
hostRef.close();
hostRef.otherInstanceOpened.subscribe();
hostRef.overlayClicked.subscribe()
hostRef.outsideClicked.subscribe()
hostRef.srcElementSizeChanged().subscribe()
hostRef.windowResized().subscribe()
hostRef.compRef
defaultBehaviorDecorator(hostRef);
btnBehaviorDecorator(hostRef);
overlayRef // overlay - backdrop
hostRef // placeholder for component
domRef // watch dom size change
const size = {x:'auto',y:'auto'}
ReltiveToElem({
origin:'#src',
initialPos:'bottom|left',
autoUpdate:true
})
RelativeToWindow({
position:'center|top left|custom'
customPosX:11,
customPosY:11
})
events.choosy
- seleced
- removed
events.global
- window resize
- doc click
events.overlay
- backdrop click
- host coords
- created
- destroyed
events.host
- attached
- detached
ref.close();
ref.componentInstance;
ref.events;
ref.config;
ref.posUpdate();
container.component(comp).overlay().open();
///
backdrop
auto pos change
ngzone
translationX
30secondaofcode
on scroll pos update