File tree Expand file tree Collapse file tree 1 file changed +11
-12
lines changed
Expand file tree Collapse file tree 1 file changed +11
-12
lines changed Original file line number Diff line number Diff line change 255255
256256 < web-editor component > </ web-editor >
257257
258- < web - editor component id = test > < / web-editor >
258+ < web - editor component id = editor - 2 > < / web-editor >
259259
260260 </ script >
261261 </ code >
271271
272272 < div style ='margin-top:50px '>
273273 < h3 >
274- Boiler Plate
274+ Boiler Plate ?hdr
275275 </ h3 >
276276 < p >
277277 < b >
@@ -396,9 +396,15 @@ <h3>
396396 < li >
397397 the function that defines the api for the log-mod is wrapped in parenthesis' () making it a function expression,
398398 this is required.
399+ < code >
400+
401+ (function({mod,host}){
402+ })
403+
404+ </ code >
399405 </ li >
400406 < li >
401- the arguments to the function ({mod,dom, host})
407+ the arguments to the function ({mod,host})
402408
403409 < ul >
404410 < li >
@@ -408,24 +414,17 @@ <h3>
408414 < br >
409415 the modules own namespaced component module reference
410416 </ li >
411- < li >
412- < b >
413- dom
414- </ b >
415- < br >
416- a reference to the original dom node
417- </ li >
418417 < li >
419418 < b >
420419 host
421420 </ b >
422421 < br >
423- the replaced element
422+ the root component element
424423 </ li >
425424 </ ul >
426425 </ li >
427426 < li >
428- the function defines an object that is returned, thats its variable name is obj is purely an internal reference.
427+ the function defines an object that is returned, note : the variable name < b > obj</ b > is purely an internal reference.
429428 < code >
430429
431430 var obj = {
You can’t perform that action at this time.
0 commit comments