Skip to content

v0.3.2

Compare
Choose a tag to compare
@souhe souhe released this 02 Feb 11:42
· 129 commits to master since this release

New prop onScroll

onScroll(value: Object) event which can notify the parent component when the container scrolls.

  • value: Object - informations about current position
    • value.leftPosition: Number - content left position (distance in pixels from the left side of container)
    • value.topPosition: Number - content top position (distance in pixels from the top of container)
    • value.containerHeight: Number - container height
    • value.containerWidth: Number - container width
    • value.realHeight: Number - real content height
    • value.realWidth: Number - real content width

New contentWindow, ownerDocumentprops to use scrollarea inside iframe.

  • contentWindow - default: window
  • ownerDocument - default: document