holder
holder copied to clipboard
:city_sunrise: Client-side image placeholders.
I've tried both the npm module and the Meteor package, and no matter where I place the `` call (end of , inside the , I'm not sure how to...
With Composer 2 having been released and Composer 1 going away soon, some libraries need to be updated to support C2 or risk breaking any projects that depend upon them....
https://codesandbox.io/s/cannot-render-component-images-in-component-when-using-or-mapping-on-state-varia-forked-lt1oc?file=/src/App.js If I have a state and I draw something based on that state, the image from holderjs won't load. I can use another placeholder like sourcing from Placeholder.com, and...
On my machine, there is high cpu usage on pages that use holder. Traced it back to these lines in index: ``` // Done to prevent 100% CPU usage via...
Forgive me if this has been asked and answered already, I couldn't find it in issues. It would be great for legibility if we could fetch icons by their class...
https://github.com/imsky/holder/blob/5d03b972f0082c6c640f8e9223ca897ebc24dd50/src/lib/index.js#L844 This code use image dimensions and `App.defaults.scale` which is not configurable for fontSize computing. https://github.com/imsky/holder/blob/5d03b972f0082c6c640f8e9223ca897ebc24dd50/src/lib/index.js#L660 Hence font size could not be lesser then some computed value. It would be...
So now when I want to have a 100% wide 16:9 image (think thumbnail) I have to calculate the height manually, I have to get the width of the (actual...
Holder is now 5 years old and has been through several refactors. Some assumptions from its initial development (Android 2 support is necessary, non-Webkit Opera is still used, IE6-IE9 are...
follow-up to #213 - would be good to curve outlines if the placeholder has rounded corners
What's the best way to enable a Content Security Policy on my pages so that SVGs generated by holder.js are not blocked ? I have an img-src of self and...