You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+29-1Lines changed: 29 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,12 +71,40 @@ use repeat:nameOfItem=[[enumerableExpression]] on a Template Element to repeat i
71
71
You could also use 'index' variable in the repeat binding for the current number. The attribute "repeat-index" could be used to change the name of the index variable.
72
72
on a repeat you could use the repeat-changed-item-callback="[[this.itemCreated(item, nodes)]]
73
73
!!caution!! => the repeat binding is only a preview at the moment, it redraws all items on array change
74
-
74
+
75
+
## Event Code Bindings
76
+
77
+
with for example @click="[[this.aa(event)]]" you could create a event binding wich could run any javascript code inside of the brackets.
78
+
79
+
75
80
### Binding extensions
76
81
77
82
- Null/Undefined Extension {{? }} - If you start a binding with a questionmark (like this: {{?), the value of the binding is assigned as an empty string when null or undefined.
78
83
- Invert extension {{! }} - If you use "!" on the start of a Binding, the bool value is inverted, and also asigned inverted (not yet developed, will do if needed)
79
84
85
+
## Declaritive Custom Element
86
+
87
+
With the node-projects-dce element you could create a custom elment declaritively, see:
0 commit comments