holder

Client-side image placeholders.

MIT License

Downloads
247.6K
Stars
5.8K
Committers
39

Bot releases are visible (Hide)

holder - Holder 2.8 Latest Release

Published by imsky over 9 years ago

  • Outlines with diagonals can now be drawn using the outline option.
  • Text color is now automatically set if no foreground color is specified.
  • Text margin can now be controlled using the run-time lineWrapRatio option.
  • addImage now supports a DOM node (or nodes) as argument
  • SVG and DOM functions have been factored out into modules.
  • Scene graph code has been rewritten to use plain JS, augment.js has been removed.
  • Flag processing code has been removed.
  • README has been updated with more documentation of internal options.
holder - Holder 2.7

Published by imsky over 9 years ago

  • Query-string support has been added, e.g. holder.js/300x200?text=Holder 2.7
  • Flag syntax has been deprecated
  • Text can now be aligned
  • Text can now be displayed without wrapping
  • Image SVG placeholders no longer use Base64 encoding in data URIs
  • Added official Meteor package: imsky:holder
  • Fixed malformed SVG bug in Opera 12
holder - Holder 2.6

Published by imsky over 9 years ago

  • Holder is now available through NPM
  • Scene graph and utility code has been factored out into CommonJS modules
  • Webpack is now used to create the UMD build
  • Stylesheets are generated for SVG placeholders, reducing inline styles and file size
  • The data-src "substitute" attribute for img's src can now be customized through the dataAttr option
holder - Holder 2.5

Published by imsky over 9 years ago

  • Invisible placeholders are now rendered automatically.
  • Font size units now default to points (pt) from the previous hard-coded default of px.
  • Resizable placeholders can pause and resume their rendering using the setResizeUpdate method.
  • Font size can now be set as part of the placeholder URL.
  • The URL used to generate the placeholder is embedded inside the generated image (SVG only)
  • Holder.version now reports the library version
Package Rankings
Top 0.87% on Npmjs.org
Top 17.29% on Repo1.maven.org
Top 0.83% on Bower.io
Top 3.35% on Packagist.org
Badges
Extracted from project README
npm Travis Build Status Package Quality NerdyData Popularity jsDelivr Hits
Related Projects