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
{{ message }}
Repository navigation
Commit cc4e444
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: en/core/animation.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -64,7 +64,7 @@ __params__
64
64
* mode (Number):
65
65
66
66
the behaviour of `Command: class` is depend on `mode`, there is three types of the mode.
67
-
- 1: the default mode, first add the class to element
67
+
- 1: the default mode, first add the class to element, after `animationend` the remove it
68
68
- 2: the command will first to add classes to element, then add classes-active at nextReflow to trigger animation. when `animationend` remove all of them.
69
69
- 3: similar with mode 1, but mode 3 dont remove classes after animationend
70
70
@@ -195,7 +195,7 @@ you can extend javascript-based Animation via `Component.animation(name, handle
195
195
__Param__
196
196
197
197
- name (String): the name of the commandName
198
-
- handle(Function): the command definition, you need return a [Function] to act animation. the [Function] accept one parent
198
+
- handle(step): the command definition, you need return a [Function] to act animation. the [Function] accept one param `step`
Copy file name to clipboardExpand all lines: en/core/computed.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ since version `0.2.4`, regularjs have added `computed property` support.
7
7
Although regularjs have the full support for `ES5 Expression`. in some case, the computed property may helping you to avoiding complicated wacher-binding.
8
8
9
9
10
-
## Example
10
+
## Usage
11
11
12
12
you can either passing `computed` property to `Component.extend` or `new Component`.
Copy file name to clipboardExpand all lines: en/introduct/target.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,4 +2,4 @@
2
2
3
3
4
4
1. all modern Browser include mobile browsers
5
-
2.ie6 - ie9 is also supported today ( it is beacuse that some product in my company need supporting ie6+, we may remove the ie6 support in future and release another version )
5
+
2.ie7 - ie9 is also supported today ( it is beacuse that some product in my company need supporting ie6+, we may remove the ie6 support in future and release another version )
in fact, you can use use the `logic` to controll the `directive` and `event`.
16
+
17
+
15
18
### 2. only render the parts that really need to
16
19
17
20
The dom-based template like angular don't have its own parsing phase, they just put the string into the document, and walker the generated dom-node to call the __LINK__ action, so the node always have some placeholder. for example:
0 commit comments