html5-import Questions

2

Solved

I am looking into structuring vanilla web-components. I have previously used Polymer and like the fact that you can have the template, styles and JavaScript in one file for your component. I want t...

1

Solved

Here's a function that returns the width of an image, given the image's url: async function getImageWidthByUrl(imgUrl) { const imgEl = document.createElement("img"); let untilImgLoaded = new Pro...

1

Solved

I'm using some features of the Web Platform such HTML Imports. On Chrome 52, everything works fine, as expected. I know that there are issues with HTML Imports on IE11 and FF 47. However I've be...
Towner asked 4/8, 2016 at 19:26
1

© 2022 - 2024 — McMap. All rights reserved.