import React,{Component} from 'react'
import {
View,
Text,
Image,
StyleSheet,
TouchableHighlight,
TouchableOpacity,
ScrollView,
findNodeHandle,
UIManager,
} from 'react-native'

 

export  default  class  GoodsSelectAssembly extends Component {
getHeight() {
        const handle = findNodeHandle(ScrollFun);
        return new Promise((resolve) => {
            UIManager.measure(handle, (x, y, width, height, pageX, pageY) => {
                console.log(x, y, width, height, pageX, pageY)
            });
        });
    }
}
render(){
return(
   <ScrollView
                    style={{backgroundColor:'#fff'}}
                    ref={(ScrollView)=>{ScrollFun=ScrollView}}
                >
</ScrollView>
)
}

 

相关文章:

  • 2021-07-24
  • 2021-11-18
  • 2021-07-24
  • 2022-02-18
  • 2022-01-08
  • 2021-11-01
  • 2021-11-14
猜你喜欢
  • 2021-11-04
  • 2022-12-23
  • 2021-05-20
  • 2021-10-11
  • 2021-12-07
  • 2022-12-23
  • 2021-12-03
相关资源
相似解决方案