Skip to content

v1.1.0

Choose a tag to compare

@kouhin kouhin released this 21 Mar 11:39
· 74 commits to master since this release
  • [BREAK] remove offsetVertical offsetHorizontal offsetTop offsetBottom offsetLeft offsetRight , use offset instead
  • [BREAK] offset can be a number or string. When it is a string, it must be a DOMString as the same as margin or padding, e.g. 500px 0px. Each value must be followed by "%" or "px". When it is a number, it will be formatted as ${number}px 0px.
  • [BREAK] remove elementType and initStyle, use placeholder(children, status) to customize placeholder.
  • [BREAK] add placeholder(children, status) as props. It can be used to customize the placeholder. The value of status is unload|loading|loaded.
  • [ENHANCEMENT] use IntersectionObserver instead of scrollmonitor.