File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -213,6 +213,23 @@ import "@polymer/paper-button/paper-button.html";
213213```
214214> Please note that the @polymer packages are still in testing stage. And the polymer version is an older one.
215215
216+ ### Assets
217+
218+ ``` html
219+ <img src =" sample-image.png" > <!-- Works!!-->
220+ <iron-image src =" sample-image.png" ><iron-image > <!-- Works!!-->
221+ <any-element src =" sample-image.png" ><any-element > <!-- Works!!-->
222+ <any-element src =" [[image]]" ><any-element > <!-- Does not work!! if you want this to work use image = path/from/root/to/image.png -->
223+ <any-element src =" {{image}}" ><any-element > <!-- Does not work!! if you want this to work use image = path/from/root/to/image.png -->
224+ ```
225+ works inside html.
226+
227+ File types we supports https://github.com/meteorwebcomponents/synthesis/blob/master/packages/synthesis-file/plugin/synthesis-file.js#L19 .
228+
229+ Feel free to add pr's if you want to supports more file types.
230+
231+ Relevant code https://github.com/meteorwebcomponents/synthesis/blob/master/packages/synthesis-compiler/synthesis-compiler.js#L166-L176 .
232+
216233### Demo
217234
218235#####Using Bower
You can’t perform that action at this time.
0 commit comments