v0.3.2
New prop onScroll
onScroll(value: Object)
event which can notify the parent component when the container scrolls.
value: Object
- informations about current positionvalue.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 heightvalue.containerWidth: Number
- container widthvalue.realHeight: Number
- real content heightvalue.realWidth: Number
- real content width
New contentWindow
, ownerDocument
props to use scrollarea inside iframe.
contentWindow
- default: windowownerDocument
- default: document