{"repo":"JungHsuan/react-native-gesture-flip-card","free":true,"listed":false,"github":"https://github.com/JungHsuan/react-native-gesture-flip-card","clone":"git clone https://github.com/JungHsuan/react-native-gesture-flip-card.git","description":"A card flipping animation component using gesture for react-native.","language":"JavaScript","stars":159,"topics":["flip","card","gesture","react-native","gesture-flip","flip-animation","panresponder","card-flip"],"license":"MIT","category":"mobile-apps","readme_excerpt":"react-native-gesture-flip-card A pure javascript implementation of a flip card animation using gesture for React Native. 2024-11-10 1. Create a new example app app and remove the old example 2. (Breaking change) renderBack and renderFront are passing through props instenad of passing by children. 3. (new) Add a argument in onFlipEnd function, it will return a boolean value(1: front and 0 for back) when the flip animation ended. 4. (new) Add a new props: onFaceChanged function, it will retrun a boolean value(1: front and 0 for back) when the face is changed. 2022-03-16 1. Update example to use react-native 0.67.3 2. Use LogBox to ignore unnecessary warnings. (To use LogBox you need to upgrade react-native to at least 0.63 ) Installation Simple Preview Minimal Usage Detail Props Props type description required default -------------------- ------------- -------------------------------- ------------- ------------- width number width of view true height number height of view true onFlipEnd function callback on end of flip false perspective number perspective of the view false -1000 gestureEnabled bool enable or disable gestures false true onFaceChanged function callback on face changed false Method name description args -------------------- -------------------------------- --------------------- flipLeft flip the card counterclockwise flipRight flip the card clockwise","default_branch":null,"files":null,"tree":[],"storefront":"/r/JungHsuan","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/JungHsuan/react-native-gesture-flip-card/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}