-
Notifications
You must be signed in to change notification settings - Fork 18
/
CHANGELOG
73 lines (63 loc) · 2.86 KB
/
CHANGELOG
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
- 0.12.1
- Add try/catch to fix wrong type
- 0.12.0
- Fixed two way databa binding to set initial value
- 0.11.2
- Fixed race condition in component-helpers.storeConnector.
- 0.11.1
- fixed removal of visibility/display if it exist in el.
To prevent flickering of placeholders
- 0.11.0
- *rename reliftHTML to Litedom
- Directives use color, instead of r-*. :for, :if, :else, :class, :key
- remove r-* directives
- Added :class
<div :class="clsName:condition; clsName2: condition2"></div>
<div :class="hide: this.item > 5; show-my-ownclass: x === y"></div>
- changed options:
- if template is provided, it will take precedence over el.innerHTML
- if tagName provided, it will make it automatically Custom Element
- if template is not provided, el.innerHTML will be used
- rename isShadow to shadowDOM
- added refId: when doing in place element, it will allow to id the element
- removed asTemplate
- Add el#.data on the component to expose data
<my-counter id=""></my-counter>
document.querySelector('#id').data ;
- Open custom methods to be public in the element when doing document.querySelector('element-something').
To make a method private prefix it with _ underscore.
- added :key to uniquely identify an element for reordering when looping
- added :style to dynamically pass inline styling as an object for stylemap
- Fixed other special characters in conditionals
- Update docs
-
- 0.10.2
- fixed reported issue when using < + >, it changes it into html entities, < >
ie 'this.count > 5' should not be 'this.count > 5'. Fixed.
- 0.10.1
- Fixed rollup bundling error that was redeclaring variable
- 0.10.0
- reLiftHTML now accepts array of config, to instantiate multiple components at once.
reLiftHTML({...}) or reLiftHTML([{...}, {...}])
- 0.0.9
- fixed bug that doesn't remove the element when doing inline
- 0.0.8
- fixed bug in $store.
- put $store in the context
- Make sure $store return the copy of the object
- 0.0.7
- anonymous Component will be named 'relift-ce-$random-id'
- Added el.style.display=block so hidden can be prepared before compiled.
Adding style="display:none" will hide the template so the content is not shown.
this option, will then show the element.
- 0.0.6
- changed the instances to become Web Component (shadow dom or custom element).
This will allow composability, sharability and use of component in other
components.
- two way data binding (via one way data flow)
- __$bindInput() function for two way data binding
- Added `utils.get` and `utils.set` to retrive data from dot notation
- template lit can be written without dollar sign, {...} => ${...}.
Specially when being written in JS to prevent interpolation by JS
- 0.0.5
- initial