File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change 1924
1924
_template : html `
1925
1925
< div > [[hostProp]]</ div > <!-- host prop -->
1926
1926
< div > [[noDeps()]]</ div > <!-- method with no deps -->
1927
+ < div > [[literalDeps('hi')]]</ div > <!-- method with literal deps -->
1927
1928
< div > [[dynamicFn()]]</ div > <!-- dynamic function with no deps -->
1928
1929
< div > [[dynamicFnWithDep(hostProp)]]</ div > <!-- dynamic function with deps -->
1929
1930
< template is ="dom-repeat " items ="[0] " as ="instProp ">
1930
1931
< div > [[instProp]]</ div > <!-- instance prop -->
1931
1932
< div > [[hostProp]]</ div > <!-- nested host prop -->
1932
1933
< div > [[noDeps()]]</ div > <!-- nested method with no deps -->
1934
+ < div > [[literalDeps('hi')]]</ div > <!-- method with literal deps -->
1933
1935
< div > [[dynamicFn()]]</ div > <!-- dynamic function with no deps -->
1934
1936
< div > [[dynamicFnWithDep(hostProp)]]</ div > <!-- dynamic function with deps -->
1935
1937
</ template >
You can’t perform that action at this time.
0 commit comments