Avalon Help
3.12.4
路由组件
..................................................................................................................
98
3.12.5
动画组件
..................................................................................................................
98
3.12.6
弹窗组件
..................................................................................................................
98
3.12.7
分页组件
..................................................................................................................
98
4. API
.....................................................................................................................................................
99
4.1
静态成员
...............................................................................................................................
99
4.1.1 vm&component
..........................................................................................................
99
4.1.1.1 scan
...................................................................................................................
99
4.1.1.2 define
.............................................................................................................
104
4.1.1.3 ready
...............................................................................................................
104
4.1.1.4 vmodels
..........................................................................................................
105
4.1.1.5 component
.....................................................................................................
105
4.1.1.6 components
...................................................................................................
106
4.1.1.7 effect
..............................................................................................................
106
4.1.1.8 validators
........................................................................................................
106
4.1.1.9 parsers
............................................................................................................
106
4.1.1.10 filters
............................................................................................................
106
4.1.1.11 directive
........................................................................................................
107
4.1.1.12 noop
.............................................................................................................
107
4.1.2
控制台输出
..............................................................................................................
107
4.1.2.1 log
...................................................................................................................
107
4.1.2.2 warn
...............................................................................................................
107
4.1.2.3 error
...............................................................................................................
108
4.1.3
类型检验
..................................................................................................................
108
4.1.3.1 type
................................................................................................................
108
4.1.3.2 isWindow
........................................................................................................
108
4.1.3.3 isFunction
.......................................................................................................
108
4.1.3.4 isObject
..........................................................................................................
109
4.1.3.5 isPlainObject
..................................................................................................
109
4.1.4 DOM
..........................................................................................................................
109
4.1.4.1 bind
.................................................................................................................
109
4.1.4.2 unbind
............................................................................................................
110
4.1.4.3 parseHTML
.....................................................................................................
110
4.1.4.4 innerHTML
......................................................................................................
110
4.1.4.5 clearHTML
......................................................................................................
110
4.1.4.6 contains
..........................................................................................................
111
4.1.5 String
.........................................................................................................................
111
4.1.5.1 hyphen
............................................................................................................
111
4.1.5.2 camelize
..........................................................................................................
111
4.1.5.3 rword
..............................................................................................................
111
4.1.6 Array&Object
.............................................................................................................
112
4.1.6.1 range
...............................................................................................................
112
4.1.6.2 each
................................................................................................................
112
4.1.6.3 mix
..................................................................................................................
113