diff --git a/docs/assets/js/search.js b/docs/assets/js/search.js index a9a43fe..3b07992 100644 --- a/docs/assets/js/search.js +++ b/docs/assets/js/search.js @@ -1,3 +1,3 @@ -var typedoc = typedoc || {}; +var typedoc = typedoc || {}; typedoc.search = typedoc.search || {}; - typedoc.search.data = {"kinds":{"32":"Variable","128":"Class","256":"Interface","512":"Constructor","1024":"Property","2048":"Method","65536":"Type literal","2097152":"Object literal"},"rows":[{"id":0,"kind":256,"name":"Photo","url":"interfaces/photo.html","classes":"tsd-kind-interface"},{"id":1,"kind":1024,"name":"source","url":"interfaces/photo.html#source","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Photo"},{"id":2,"kind":1024,"name":"title","url":"interfaces/photo.html#title","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Photo"},{"id":3,"kind":1024,"name":"summary","url":"interfaces/photo.html#summary","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Photo"},{"id":4,"kind":1024,"name":"titleColor","url":"interfaces/photo.html#titlecolor","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Photo"},{"id":5,"kind":1024,"name":"summaryColor","url":"interfaces/photo.html#summarycolor","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Photo"},{"id":6,"kind":256,"name":"MerryPhotoViewPorps","url":"interfaces/merryphotoviewporps.html","classes":"tsd-kind-interface"},{"id":7,"kind":1024,"name":"data","url":"interfaces/merryphotoviewporps.html#data","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"MerryPhotoViewPorps"},{"id":8,"kind":1024,"name":"initial","url":"interfaces/merryphotoviewporps.html#initial","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"MerryPhotoViewPorps"},{"id":9,"kind":1024,"name":"hideStatusBar","url":"interfaces/merryphotoviewporps.html#hidestatusbar","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"MerryPhotoViewPorps"},{"id":10,"kind":1024,"name":"hideCloseButton","url":"interfaces/merryphotoviewporps.html#hideclosebutton","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"MerryPhotoViewPorps"},{"id":11,"kind":1024,"name":"hideShareButton","url":"interfaces/merryphotoviewporps.html#hidesharebutton","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"MerryPhotoViewPorps"},{"id":12,"kind":1024,"name":"shareText","url":"interfaces/merryphotoviewporps.html#sharetext","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"MerryPhotoViewPorps"},{"id":13,"kind":1024,"name":"visible","url":"interfaces/merryphotoviewporps.html#visible","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"MerryPhotoViewPorps"},{"id":14,"kind":1024,"name":"onDismiss","url":"interfaces/merryphotoviewporps.html#ondismiss","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"MerryPhotoViewPorps"},{"id":15,"kind":65536,"name":"__type","url":"interfaces/merryphotoviewporps.html#ondismiss.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"MerryPhotoViewPorps.onDismiss"},{"id":16,"kind":128,"name":"MerryPhotoView","url":"classes/merryphotoview.html","classes":"tsd-kind-class"},{"id":17,"kind":2097152,"name":"propTypes","url":"classes/merryphotoview.html#proptypes","classes":"tsd-kind-object-literal tsd-parent-kind-class tsd-is-static","parent":"MerryPhotoView"},{"id":18,"kind":32,"name":"data","url":"classes/merryphotoview.html#proptypes.data","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"MerryPhotoView.propTypes"},{"id":19,"kind":65536,"name":"__type","url":"classes/merryphotoview.html#proptypes.data.__type-1","classes":"tsd-kind-type-literal tsd-parent-kind-variable","parent":"MerryPhotoView.propTypes.data"},{"id":20,"kind":32,"name":"visible","url":"classes/merryphotoview.html#proptypes.visible-1","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"MerryPhotoView.propTypes"},{"id":21,"kind":32,"name":"initial","url":"classes/merryphotoview.html#proptypes.initial","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"MerryPhotoView.propTypes"},{"id":22,"kind":65536,"name":"__type","url":"classes/merryphotoview.html#proptypes.initial.__type-2","classes":"tsd-kind-type-literal tsd-parent-kind-variable","parent":"MerryPhotoView.propTypes.initial"},{"id":23,"kind":32,"name":"hideStatusBar","url":"classes/merryphotoview.html#proptypes.hidestatusbar","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"MerryPhotoView.propTypes"},{"id":24,"kind":32,"name":"hideCloseButton","url":"classes/merryphotoview.html#proptypes.hideclosebutton","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"MerryPhotoView.propTypes"},{"id":25,"kind":32,"name":"hideShareButton","url":"classes/merryphotoview.html#proptypes.hidesharebutton","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"MerryPhotoView.propTypes"},{"id":26,"kind":32,"name":"onDismiss","url":"classes/merryphotoview.html#proptypes.ondismiss","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"MerryPhotoView.propTypes"},{"id":27,"kind":65536,"name":"__type","url":"classes/merryphotoview.html#proptypes.ondismiss.__type-3","classes":"tsd-kind-type-literal tsd-parent-kind-variable","parent":"MerryPhotoView.propTypes.onDismiss"},{"id":28,"kind":32,"name":"shareText","url":"classes/merryphotoview.html#proptypes.sharetext","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"MerryPhotoView.propTypes"},{"id":29,"kind":2097152,"name":"defaultProps","url":"classes/merryphotoview.html#defaultprops","classes":"tsd-kind-object-literal tsd-parent-kind-class tsd-is-static","parent":"MerryPhotoView"},{"id":30,"kind":32,"name":"visible","url":"classes/merryphotoview.html#defaultprops.visible","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"MerryPhotoView.defaultProps"},{"id":31,"kind":2048,"name":"processor","url":"classes/merryphotoview.html#processor","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MerryPhotoView"},{"id":32,"kind":2048,"name":"render","url":"classes/merryphotoview.html#render","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"MerryPhotoView"},{"id":33,"kind":2048,"name":"componentWillMount","url":"classes/merryphotoview.html#componentwillmount","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static","parent":"MerryPhotoView"},{"id":34,"kind":2048,"name":"componentDidMount","url":"classes/merryphotoview.html#componentdidmount","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static","parent":"MerryPhotoView"},{"id":35,"kind":2048,"name":"componentWillReceiveProps","url":"classes/merryphotoview.html#componentwillreceiveprops","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static","parent":"MerryPhotoView"},{"id":36,"kind":2048,"name":"shouldComponentUpdate","url":"classes/merryphotoview.html#shouldcomponentupdate","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static","parent":"MerryPhotoView"},{"id":37,"kind":2048,"name":"componentWillUpdate","url":"classes/merryphotoview.html#componentwillupdate","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static","parent":"MerryPhotoView"},{"id":38,"kind":2048,"name":"componentDidUpdate","url":"classes/merryphotoview.html#componentdidupdate","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static","parent":"MerryPhotoView"},{"id":39,"kind":2048,"name":"componentWillUnmount","url":"classes/merryphotoview.html#componentwillunmount","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static","parent":"MerryPhotoView"},{"id":40,"kind":2048,"name":"componentDidCatch","url":"classes/merryphotoview.html#componentdidcatch","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static","parent":"MerryPhotoView"},{"id":41,"kind":512,"name":"constructor","url":"classes/merryphotoview.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited","parent":"MerryPhotoView"},{"id":42,"kind":2048,"name":"setState","url":"classes/merryphotoview.html#setstate","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"MerryPhotoView"},{"id":43,"kind":2048,"name":"forceUpdate","url":"classes/merryphotoview.html#forceupdate","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"MerryPhotoView"},{"id":44,"kind":1024,"name":"props","url":"classes/merryphotoview.html#props","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"MerryPhotoView"},{"id":45,"kind":1024,"name":"state","url":"classes/merryphotoview.html#state","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"MerryPhotoView"},{"id":46,"kind":1024,"name":"context","url":"classes/merryphotoview.html#context","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"MerryPhotoView"},{"id":47,"kind":1024,"name":"refs","url":"classes/merryphotoview.html#refs","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"MerryPhotoView"},{"id":48,"kind":65536,"name":"__type","url":"classes/merryphotoview.html#refs.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property","parent":"MerryPhotoView.refs"},{"id":49,"kind":32,"name":"resolveAssetSource","url":"index.html#resolveassetsource","classes":"tsd-kind-variable tsd-is-not-exported"},{"id":50,"kind":32,"name":"ImageSourcePropType","url":"index.html#imagesourceproptype","classes":"tsd-kind-variable tsd-is-not-exported"},{"id":51,"kind":32,"name":"RNMerryPhotoView","url":"index.html#rnmerryphotoview","classes":"tsd-kind-variable tsd-is-not-exported"}]}; \ No newline at end of file + typedoc.search.data = {"kinds":{"32":"Variable","128":"Class","256":"Interface","512":"Constructor","1024":"Property","2048":"Method","65536":"Type literal","2097152":"Object literal"},"rows":[{"id":0,"kind":256,"name":"Photo","url":"interfaces/photo.html","classes":"tsd-kind-interface"},{"id":1,"kind":1024,"name":"source","url":"interfaces/photo.html#source","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Photo"},{"id":2,"kind":1024,"name":"title","url":"interfaces/photo.html#title","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Photo"},{"id":3,"kind":1024,"name":"summary","url":"interfaces/photo.html#summary","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Photo"},{"id":4,"kind":1024,"name":"titleColor","url":"interfaces/photo.html#titlecolor","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Photo"},{"id":5,"kind":1024,"name":"summaryColor","url":"interfaces/photo.html#summarycolor","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Photo"},{"id":6,"kind":256,"name":"MerryPhotoViewPorps","url":"interfaces/merryphotoviewporps.html","classes":"tsd-kind-interface"},{"id":7,"kind":1024,"name":"data","url":"interfaces/merryphotoviewporps.html#data","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"MerryPhotoViewPorps"},{"id":8,"kind":1024,"name":"initial","url":"interfaces/merryphotoviewporps.html#initial","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"MerryPhotoViewPorps"},{"id":9,"kind":1024,"name":"hideStatusBar","url":"interfaces/merryphotoviewporps.html#hidestatusbar","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"MerryPhotoViewPorps"},{"id":10,"kind":1024,"name":"hideCloseButton","url":"interfaces/merryphotoviewporps.html#hideclosebutton","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"MerryPhotoViewPorps"},{"id":11,"kind":1024,"name":"hideShareButton","url":"interfaces/merryphotoviewporps.html#hidesharebutton","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"MerryPhotoViewPorps"},{"id":12,"kind":1024,"name":"shareText","url":"interfaces/merryphotoviewporps.html#sharetext","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"MerryPhotoViewPorps"},{"id":13,"kind":1024,"name":"visible","url":"interfaces/merryphotoviewporps.html#visible","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"MerryPhotoViewPorps"},{"id":14,"kind":1024,"name":"onDismiss","url":"interfaces/merryphotoviewporps.html#ondismiss","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"MerryPhotoViewPorps"},{"id":15,"kind":65536,"name":"__type","url":"interfaces/merryphotoviewporps.html#ondismiss.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"MerryPhotoViewPorps.onDismiss"},{"id":16,"kind":1024,"name":"onChange","url":"interfaces/merryphotoviewporps.html#onchange","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"MerryPhotoViewPorps"},{"id":17,"kind":128,"name":"MerryPhotoView","url":"classes/merryphotoview.html","classes":"tsd-kind-class"},{"id":18,"kind":2097152,"name":"propTypes","url":"classes/merryphotoview.html#proptypes","classes":"tsd-kind-object-literal tsd-parent-kind-class tsd-is-static","parent":"MerryPhotoView"},{"id":19,"kind":32,"name":"data","url":"classes/merryphotoview.html#proptypes.data","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"MerryPhotoView.propTypes"},{"id":20,"kind":65536,"name":"__type","url":"classes/merryphotoview.html#proptypes.data.__type-1","classes":"tsd-kind-type-literal tsd-parent-kind-variable","parent":"MerryPhotoView.propTypes.data"},{"id":21,"kind":32,"name":"visible","url":"classes/merryphotoview.html#proptypes.visible-1","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"MerryPhotoView.propTypes"},{"id":22,"kind":32,"name":"initial","url":"classes/merryphotoview.html#proptypes.initial","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"MerryPhotoView.propTypes"},{"id":23,"kind":65536,"name":"__type","url":"classes/merryphotoview.html#proptypes.initial.__type-2","classes":"tsd-kind-type-literal tsd-parent-kind-variable","parent":"MerryPhotoView.propTypes.initial"},{"id":24,"kind":32,"name":"hideStatusBar","url":"classes/merryphotoview.html#proptypes.hidestatusbar","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"MerryPhotoView.propTypes"},{"id":25,"kind":32,"name":"hideCloseButton","url":"classes/merryphotoview.html#proptypes.hideclosebutton","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"MerryPhotoView.propTypes"},{"id":26,"kind":32,"name":"hideShareButton","url":"classes/merryphotoview.html#proptypes.hidesharebutton","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"MerryPhotoView.propTypes"},{"id":27,"kind":32,"name":"onDismiss","url":"classes/merryphotoview.html#proptypes.ondismiss","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"MerryPhotoView.propTypes"},{"id":28,"kind":65536,"name":"__type","url":"classes/merryphotoview.html#proptypes.ondismiss.__type-3","classes":"tsd-kind-type-literal tsd-parent-kind-variable","parent":"MerryPhotoView.propTypes.onDismiss"},{"id":29,"kind":32,"name":"onChange","url":"classes/merryphotoview.html#proptypes.onchange-1","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"MerryPhotoView.propTypes"},{"id":30,"kind":32,"name":"shareText","url":"classes/merryphotoview.html#proptypes.sharetext","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"MerryPhotoView.propTypes"},{"id":31,"kind":2097152,"name":"defaultProps","url":"classes/merryphotoview.html#defaultprops","classes":"tsd-kind-object-literal tsd-parent-kind-class tsd-is-static","parent":"MerryPhotoView"},{"id":32,"kind":32,"name":"visible","url":"classes/merryphotoview.html#defaultprops.visible","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"MerryPhotoView.defaultProps"},{"id":33,"kind":2048,"name":"processor","url":"classes/merryphotoview.html#processor","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MerryPhotoView"},{"id":34,"kind":2048,"name":"onChange","url":"classes/merryphotoview.html#onchange","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MerryPhotoView"},{"id":35,"kind":2048,"name":"render","url":"classes/merryphotoview.html#render","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"MerryPhotoView"},{"id":36,"kind":2048,"name":"componentWillMount","url":"classes/merryphotoview.html#componentwillmount","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static","parent":"MerryPhotoView"},{"id":37,"kind":2048,"name":"componentDidMount","url":"classes/merryphotoview.html#componentdidmount","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static","parent":"MerryPhotoView"},{"id":38,"kind":2048,"name":"componentWillReceiveProps","url":"classes/merryphotoview.html#componentwillreceiveprops","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static","parent":"MerryPhotoView"},{"id":39,"kind":2048,"name":"shouldComponentUpdate","url":"classes/merryphotoview.html#shouldcomponentupdate","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static","parent":"MerryPhotoView"},{"id":40,"kind":2048,"name":"componentWillUpdate","url":"classes/merryphotoview.html#componentwillupdate","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static","parent":"MerryPhotoView"},{"id":41,"kind":2048,"name":"componentDidUpdate","url":"classes/merryphotoview.html#componentdidupdate","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static","parent":"MerryPhotoView"},{"id":42,"kind":2048,"name":"componentWillUnmount","url":"classes/merryphotoview.html#componentwillunmount","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static","parent":"MerryPhotoView"},{"id":43,"kind":2048,"name":"componentDidCatch","url":"classes/merryphotoview.html#componentdidcatch","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static","parent":"MerryPhotoView"},{"id":44,"kind":512,"name":"constructor","url":"classes/merryphotoview.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited","parent":"MerryPhotoView"},{"id":45,"kind":2048,"name":"setState","url":"classes/merryphotoview.html#setstate","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"MerryPhotoView"},{"id":46,"kind":2048,"name":"forceUpdate","url":"classes/merryphotoview.html#forceupdate","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"MerryPhotoView"},{"id":47,"kind":1024,"name":"props","url":"classes/merryphotoview.html#props","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"MerryPhotoView"},{"id":48,"kind":1024,"name":"state","url":"classes/merryphotoview.html#state","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"MerryPhotoView"},{"id":49,"kind":1024,"name":"context","url":"classes/merryphotoview.html#context","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"MerryPhotoView"},{"id":50,"kind":1024,"name":"refs","url":"classes/merryphotoview.html#refs","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"MerryPhotoView"},{"id":51,"kind":65536,"name":"__type","url":"classes/merryphotoview.html#refs.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property","parent":"MerryPhotoView.refs"},{"id":52,"kind":32,"name":"resolveAssetSource","url":"index.html#resolveassetsource","classes":"tsd-kind-variable tsd-is-not-exported"},{"id":53,"kind":32,"name":"ImageSourcePropType","url":"index.html#imagesourceproptype","classes":"tsd-kind-variable tsd-is-not-exported"},{"id":54,"kind":32,"name":"RNMerryPhotoView","url":"index.html#rnmerryphotoview","classes":"tsd-kind-variable tsd-is-not-exported"}]}; \ No newline at end of file diff --git a/docs/classes/merryphotoview.html b/docs/classes/merryphotoview.html index eafda03..2045ef9 100644 --- a/docs/classes/merryphotoview.html +++ b/docs/classes/merryphotoview.html @@ -100,6 +100,7 @@

Properties

Methods

+
+ +

onChange

+ + +

processor

@@ -244,7 +268,7 @@

processor

  • @@ -278,7 +302,7 @@

    render

    Returns null @@ -626,7 +650,7 @@

    Static defaultProps

    defaultProps: object
    @@ -635,7 +659,7 @@

    visible

    visible: boolean = false
    @@ -646,7 +670,7 @@

    Static propTypes

    propTypes: object
    @@ -655,7 +679,7 @@

    data

    data: function = PropTypes.arrayOf(PropTypes.shape({source:Platform.OS === "ios"? ImageSourcePropType: PropTypes.oneOfType([PropTypes.shape({uri: PropTypes.string,headers: PropTypes.objectOf(PropTypes.string)}),// Opaque type returned by require('./image.jpg')PropTypes.number,// Multiple sourcesPropTypes.arrayOf(PropTypes.shape({uri: PropTypes.string,width: PropTypes.number,height: PropTypes.number}))]),title: PropTypes.string,summary: PropTypes.string,titleColor: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),summaryColor: PropTypes.oneOfType([PropTypes.string, PropTypes.number])})).isRequired
    @@ -698,7 +722,7 @@

    hideCloseButton

    hideCloseButton: Requireable<any> = PropTypes.bool
    @@ -708,7 +732,7 @@

    hideShareButton

    hideShareButton: Requireable<any> = PropTypes.bool
  • @@ -718,7 +742,7 @@

    hideStatusBar

    hideStatusBar: Requireable<any> = PropTypes.bool
    @@ -728,7 +752,7 @@

    initial

    initial: function = PropTypes.number.isRequired
    @@ -765,13 +789,23 @@

    Returns Error

    +
    + +

    onChange

    +
    onChange: Requireable<any> = PropTypes.func
    + +

    onDismiss

    onDismiss: function = PropTypes.func.isRequired
    @@ -814,7 +848,7 @@

    shareText

    shareText: Requireable<any> = PropTypes.string
    @@ -824,7 +858,7 @@

    visible

    visible: Requireable<any> = PropTypes.bool
    @@ -864,6 +898,9 @@

    visible

  • forceUpdate
  • +
  • + onChange +
  • processor
  • diff --git a/docs/index.html b/docs/index.html index d80a941..5820a08 100644 --- a/docs/index.html +++ b/docs/index.html @@ -97,17 +97,17 @@

    Const ImageSourcePropImageSourcePropType: any = require("react-native/Libraries/Image/ImageSourcePropType")

    RNMerryPhotoView

    -
    RNMerryPhotoView: ComponentClass<object | object> = requireNativeComponent("MerryPhotoView", MerryPhotoView)
    +
    RNMerryPhotoView: ComponentClass<object | object> = requireNativeComponent("MerryPhotoView",MerryPhotoView,{nativeOnly: {onChange: true}})
    @@ -117,7 +117,7 @@

    Const resolveAssetSourc
    resolveAssetSource: any = require("react-native/Libraries/Image/resolveAssetSource")
    diff --git a/docs/interfaces/merryphotoviewporps.html b/docs/interfaces/merryphotoviewporps.html index 900bc8f..fb1dbe5 100644 --- a/docs/interfaces/merryphotoviewporps.html +++ b/docs/interfaces/merryphotoviewporps.html @@ -84,6 +84,7 @@

    Properties

  • hideShareButton
  • hideStatusBar
  • initial
  • +
  • onChange
  • onDismiss
  • shareText
  • visible
  • @@ -100,7 +101,7 @@

    data

    data: Photo[]
    @@ -115,7 +116,7 @@

    Optional hideCloseBu
    hideCloseButton: undefined | true | false
    @@ -130,7 +131,7 @@

    Optional hideShareBu
    hideShareButton: undefined | true | false
    @@ -145,7 +146,7 @@

    Optional hideStatusB
    hideStatusBar: undefined | true | false
    @@ -160,7 +161,7 @@

    initial

    initial: number
    @@ -169,13 +170,23 @@

    initial

    +
    + +

    Optional onChange

    +
    onChange: undefined | function
    + +

    onDismiss

    onDismiss: function
    @@ -205,7 +216,7 @@

    Optional shareText

    shareText: undefined | string
    @@ -221,7 +232,7 @@

    visible

    visible: boolean
    @@ -265,6 +276,9 @@

    visible

  • initial
  • +
  • + onChange +
  • onDismiss
  • diff --git a/docs/interfaces/photo.html b/docs/interfaces/photo.html index b72a24a..19ea3f8 100644 --- a/docs/interfaces/photo.html +++ b/docs/interfaces/photo.html @@ -104,7 +104,7 @@

    source

    source: ImageURISource
    @@ -124,7 +124,7 @@

    Optional summary

    summary: undefined | string
    @@ -134,7 +134,7 @@

    Optional summaryColor

    summaryColor: string | number
    @@ -144,7 +144,7 @@

    Optional title

    title: undefined | string
    @@ -154,7 +154,7 @@

    Optional titleColor

    titleColor: string | number