File tree Expand file tree Collapse file tree 4 files changed +647
-89
lines changed
tests/cypress/integration/plugins Expand file tree Collapse file tree 4 files changed +647
-89
lines changed Original file line number Diff line number Diff line change 3
3
< script src ="./packages/alpinejs/dist/cdn.js " defer > </ script >
4
4
<!-- <script src="https://cdn.jsdelivr.net/npm/[email protected] /dist/cdn.min.js" defer></script> -->
5
5
6
- < div id ="container ">
6
+ < div id ="container " x-data =" { count: 0 } " >
7
7
< h2 > Static Header (won't change)</ h2 >
8
8
9
9
<!-- Initial content with boundaries around li elements: -->
10
10
< ul >
11
11
<!-- [MORPH_START] -->
12
12
< li data-key ="1 "> foo< input > </ li >
13
+ < li data-key ="2 "> bar< input > </ li >
13
14
<!-- [MORPH_END] -->
14
15
</ ul >
15
16
16
17
< p > Static Footer (won't change)</ p >
17
18
</ div >
18
19
19
- < div id ="new-content " style ="display: none; ">
20
20
<!-- New li content to morph to (between boundaries): -->
21
- < li data-key ="2 "> bar< input > </ li >
22
- < li data-key ="3 "> baz< input > </ li >
23
- < li data-key ="1 "> foo< input > </ li >
21
+ < div id ="new-content " style ="display: none; ">
22
+ < li data-key ="3 "> baz< input > </ li >
23
+ < li data-key ="1 "> foo< input > </ li >
24
+ < li data-key ="2 "> bar< input > </ li >
24
25
</ div >
25
26
26
27
< div id ="b "> </ div >
You can’t perform that action at this time.
0 commit comments