Skip to content

Releases: imsky/holder

Holder 2.8

02 Jun 12:36
Compare
Choose a tag to compare
  • 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 2.7

06 May 13:06
Compare
Choose a tag to compare
  • 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 2.6

08 Apr 03:59
Compare
Choose a tag to compare
  • 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 2.5

03 Feb 01:22
Compare
Choose a tag to compare
  • 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