diff --git a/zh-cn/react-native-flip-card.md b/zh-cn/react-native-flip-card.md index ca5816eb531c0a25a97edad28c4f8b3afd1294df..20d8b3ee82e918ad1413d46ea168756b5617fd9b 100644 --- a/zh-cn/react-native-flip-card.md +++ b/zh-cn/react-native-flip-card.md @@ -213,9 +213,9 @@ const createCard = (val, i) => ## 约束与限制 ### 兼容性 +本文档内容基于以下版本验证通过: -1. RNOH:0.72.13; SDK:HarmonyOS NEXT Developer Preview1; IDE:DevEco Studio 4.1.3.500; ROM:204.1.0.59; -2. RNOH:0.72.20; SDK:HarmonyOS NEXT Developer Beta1 B.0.18、HarmonyOS NEXT Developer Preview0 B.0.60、HarmonyOS NEXT Developer Preview2 B.0.73; IDE:DevEco Studio 5.0.3.200; ROM:2.0.0.18; +1. RNOH:0.72.26; SDK::HarmonyOS NEXT Developer Beta1; IDE:DevEco Studio 5.0.3.300SP2; ROM:3.0.0.24 (Canary3); ## 属性 ### FlipCard @@ -230,17 +230,19 @@ const createCard = (val, i) => | flip |boolean|If you change default display side, you can set true to this param. If you change side, you can pass bool variable dynamically. | false |no |IOS/Android| yes | |clickable |boolean| If you want to disable click a card, you can set false to this paramicon. | true | no |IOS/Android | yes | | friction |number| The friction of card animation | 6|no | IOS/Android|yes | -| perspective |number| The amount of perspective applied to the flip transformation | 0 |no | IOS/Android | yes | +| perspective |number| The amount of perspective applied to the flip transformation | 1000 |no | IOS/Android | yes | | flipHorizontal |boolean| If you set true, a card flip to horizontal. | false |no | IOS/Android | yes | -| flipVertical |boolean| If you set false, a card not flip to vertical. If you set true both flipHorizontal and flipVertical , a card flip to diagonal. | true |no |IOS/Android | yes | +| flipVertical |boolean| If you set false, a card not flip to vertical. If you set true both flipHoriszontal and flipVertical , a card flip to diagonal. | true |no |IOS/Android | yes | |onFlipStart |function| When a card starts a flip animation, call onFlipEnd function with param. | NA |no | IOS/Android|yes | |onFlipEnd |function| When a card finishes a flip animation, call onFlipEnd function with param. | NA |no |IOS/Android| yes | |alignHeight |boolean| If you pass true to alignHeight param, the card keep height of bigger side. | false |no |IOS/Android | yes | |alignWidth |boolean| If you pass true to alignWidth param, the card keep width of bigger side. | false |no |IOS/Android | yes | -|useNativeDriver |boolean| If you pass true to useNativeDriver param, the card animation will utilize the native driver. | false |no |IOS/Android | yes | +|useNativeDriver |boolean| If you pass true to useNativeDriver param, the card animation will utilize the native driver. | true |no |IOS/Android | yes | +## 遗留问题 +## 其他 ## 开源协议 @@ -248,4 +250,4 @@ const createCard = (val, i) => - \ No newline at end of file +