Releases: imsky/holder
Releases · imsky/holder
Holder 2.8
- 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
- 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
- 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 forimg
'ssrc
can now be customized through thedataAttr
option
Holder 2.5
- Invisible placeholders are now rendered automatically.
- Font size units now default to points (
pt
) from the previous hard-coded default ofpx
. - 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