@@ -52,6 +52,18 @@ aside:
52
52
</ul >
53
53
</script >
54
54
55
+ <script type =" text/html"
56
+ label =" Repeat animation with custom config"
57
+ uip-snippet
58
+ uip-snippet-js =" js-snippet-animate-mixin" >
59
+ <ul class =" round simple-grid simple-grid-list" style =" gap : 100px " >
60
+ {% for i in range(0, 5) -%}
61
+ <li class =" simple-grid-cell bg-blue round esl-animate-fade"
62
+ esl-animate =" {repeat: true, ratio: 1}" ></li >
63
+ {% endfor %}
64
+ </ul >
65
+ </script >
66
+
55
67
<script id =" js-snippet-animate-element" type =" text/plain" >
56
68
import { ESLAnimate } from ' @exadel/esl' ;
57
69
ESLAnimate .register ();
@@ -62,18 +74,18 @@ aside:
62
74
</script >
63
75
64
76
<uip-snippets class =" uip-toolbar" dropdown-view =" @xs" ></uip-snippets >
65
- <uip-preview ></uip-preview >
66
- <uip-settings target = " .simple-grid-cell " label =" Settings" resizable vertical =" @+sm" >
67
- <uip-select-setting label =" Animation type:" attribute =" class" mode =" append" >
77
+ <uip-preview style = " max-height : 600 px " ></uip-preview >
78
+ <uip-settings label =" Settings" resizable vertical =" @+sm" >
79
+ <uip-select-setting target = " .simple-grid-cell " label =" Animation type:" attribute =" class" mode =" append" >
68
80
<option value =" esl-animate-fade" >Fade</option >
69
81
<option value =" esl-animate-slide up" >Slide Up</option >
70
82
<option value =" esl-animate-slide left" >Slide Left</option >
71
83
<option value =" esl-animate-slide down" >Slide Down</option >
72
84
<option value =" esl-animate-slide right" >Slide Right</option >
73
85
</uip-select-setting >
74
- <uip-bool-setting label =" Repeat" attribute =" repeat" ></uip-bool-setting >
75
- <uip-bool-setting label = " Group " target =" esl-animate" attribute =" group" ></uip-bool-setting >
76
- <uip-slider-setting label =" Animation delay:" target = " esl-animate " attribute =" group-delay" min =" 100" max =" 1000" ></uip-slider-setting >
86
+ <uip-bool-setting target = " esl-animate " label =" Repeat" attribute =" repeat" ></uip-bool-setting >
87
+ <uip-bool-setting target =" esl-animate" label = " Group " attribute =" group" ></uip-bool-setting >
88
+ <uip-slider-setting target = " esl-animate " label =" Animation delay:" attribute =" group-delay" min =" 100" max =" 1000" ></uip-slider-setting >
77
89
</uip-settings >
78
90
<uip-editor label =" Source code (HTML)" collapsible copy ></uip-editor >
79
91
<uip-editor source =" js" label =" Source code (JS)" collapsible collapsed copy ></uip-editor >
0 commit comments