9
9
< script src ="../../assets/@webcomponents/webcomponentsjs/webcomponents-loader.js "> </ script >
10
10
11
11
< script type ="module ">
12
- import '../assets/ @polymer/iron-demo-helpers/demo-snippet.js' ;
13
- import '../assets/ @polymer/iron-demo-helpers/demo-pages-shared-styles.js' ;
12
+ import '@polymer/iron-demo-helpers/demo-snippet.js' ;
13
+ import '@polymer/iron-demo-helpers/demo-pages-shared-styles.js' ;
14
14
</ script >
15
15
16
16
49
49
< xf-instance >
50
50
< data >
51
51
< item > foobar</ item >
52
- < checked > false </ checked >
52
+ < checked > true </ checked >
53
53
< listitem > foo</ listitem >
54
54
</ data >
55
55
</ xf-instance >
@@ -120,10 +120,11 @@ <h3>Using a textarea</h3>
120
120
121
121
< demo-snippet >
122
122
< template >
123
- < xf-bound ref ="item " update-event ="input " value-prop =" content " >
123
+ < xf-bound ref ="item " update-event ="input ">
124
124
< label for ="text1 " slot ="label "> native textarea</ label >
125
125
< textarea id ="text1 " cols ="40 " rows ="4 "> </ textarea >
126
126
</ xf-bound >
127
+ < xf-output ref ="item "> </ xf-output >
127
128
</ template >
128
129
</ demo-snippet >
129
130
@@ -190,7 +191,6 @@ <h3>Datalist</h3>
190
191
</ section >
191
192
192
193
193
- <!--
194
194
< section >
195
195
< h3 > Wrapped paper controls</ h3 >
196
196
@@ -206,19 +206,14 @@ <h3>with incremental firing</h3>
206
206
< xf-bound ref ="item " update-event ="keyup ">
207
207
< paper-input label ="the item in paper land "> </ paper-input >
208
208
</ xf-bound >
209
+
210
+ < xf-bound ref ="checked " update-event ="change " value-prop ="checked ">
211
+ < paper-checkbox > paper checkbox</ paper-checkbox >
212
+ </ xf-bound >
209
213
</ template >
210
214
</ demo-snippet >
211
215
</ section >
212
- -->
213
-
214
- <!--
215
-
216
216
217
- <xf-bound ref="checked" update-event="change" value-prop="checked">
218
- <paper-checkbox>paper checkbox</paper-checkbox>
219
- </xf-bound>
220
-
221
- -->
222
217
<!-- Selected list item :<xf-output ref="item"></xf-output>-->
223
218
224
219
@@ -238,7 +233,7 @@ <h3>with incremental firing</h3>
238
233
</ xf-group >
239
234
</ xf-form >
240
235
241
- < script type ="module " src ="../src/app .js "> </ script >
236
+ < script type ="module " src ="../index .js "> </ script >
242
237
243
238
</ body >
244
239
</ html >
0 commit comments