We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
React-native-webview部分属性和方法没有鸿蒙化 属性:automaticallyAdjustContentInsets?: boolean originWhitelist?[], automaticallyAdjustsScrollIndicatorInsets?: boolean injectedJavaScriptForMainFrameOnly?: boolean injectedJavaScriptBeforeContentLoadedForMainFrameOnly?: boolean nativeConfig?: WebViewNativeConfig decelerationRate?: DecelerationRateConstant | number javaScriptCanOpenWindowsAutomatically?: boolean androidLayerType?: AndroidLayerType mixedContentMode?: 'never' | 'always' | 'compatibility' allowsFullscreenVideo?: boolean allowsInlineMediaPlayback?: boolean allowsAirPlayForMediaPlayback?: boolean contentInset?: ContentInsetProp contentInsetAdjustmentBehavior?: ContentInsetAdjustmentBehavior contentMode?: ContentMode dataDetectorTypes?: DataDetectorTypes | DataDetectorTypes[] setBuiltInZoomControls?: boolean setDisplayZoomControls?: boolean directionalLockEnabled?: boolean allowFileAccessFromFileURLs?: boolean allowUniversalAccessFromFileURLs?: boolean allowingReadAccessToURL?: string keyboardDisplayRequiresUserAction?: boolean hideKeyboardAccessoryView?: boolean allowsBackForwardNavigationGestures?: boolean allowFileAccess?: boolean saveFormDataDisabled?: boolean pagingEnabled?: boolean allowsLinkPreview?: boolean sharedCookiesEnabled?: boolean limitsNavigationsToAppBoundDomains?: boolean textInteractionEnabled?: boolean suppressMenuItems?: SuppressMenuItem[] mediaCapturePermissionGrantType?: MediaCapturePermissionGrantType autoManageStatusBarEnabled?: boolean enableApplePay?: boolean basicAuthCredential?: BasicAuthCredential useWebView2?: boolean downloadingMessage?: string lackPermissionToDownloadMessage?: string allowsProtectedMedia?: boolean source method source.body
方法:onOpenWindow?: (event: WebViewOpenWindowEvent) => void onContentProcessDidTerminate?: (event: WebViewTerminatedEvent) => void renderLoading?: () => ReactElement; "onCustomMenuSelection?: (event: {nativeEvent: { label: string; key: string; selectedText: string; } }) => void" 实列方法:clearFormData 已上属性和方法需要适配harmonyOS
原库已适配以上的属性和方法
以上方法在harmonyOS暂时不支持,没有对应功能的api
无
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Feature Request
React-native-webview部分属性和方法没有鸿蒙化
属性:automaticallyAdjustContentInsets?: boolean
originWhitelist?[],
automaticallyAdjustsScrollIndicatorInsets?: boolean
injectedJavaScriptForMainFrameOnly?: boolean
injectedJavaScriptBeforeContentLoadedForMainFrameOnly?: boolean
nativeConfig?: WebViewNativeConfig
decelerationRate?: DecelerationRateConstant | number
javaScriptCanOpenWindowsAutomatically?: boolean
androidLayerType?: AndroidLayerType
mixedContentMode?: 'never' | 'always' | 'compatibility'
allowsFullscreenVideo?: boolean
allowsInlineMediaPlayback?: boolean
allowsAirPlayForMediaPlayback?: boolean
contentInset?: ContentInsetProp
contentInsetAdjustmentBehavior?: ContentInsetAdjustmentBehavior
contentMode?: ContentMode
dataDetectorTypes?: DataDetectorTypes | DataDetectorTypes[]
setBuiltInZoomControls?: boolean
setDisplayZoomControls?: boolean
directionalLockEnabled?: boolean
allowFileAccessFromFileURLs?: boolean
allowUniversalAccessFromFileURLs?: boolean
allowingReadAccessToURL?: string
keyboardDisplayRequiresUserAction?: boolean
hideKeyboardAccessoryView?: boolean
allowsBackForwardNavigationGestures?: boolean
allowFileAccess?: boolean
saveFormDataDisabled?: boolean
pagingEnabled?: boolean
allowsLinkPreview?: boolean
sharedCookiesEnabled?: boolean
limitsNavigationsToAppBoundDomains?: boolean
textInteractionEnabled?: boolean
suppressMenuItems?: SuppressMenuItem[]
mediaCapturePermissionGrantType?: MediaCapturePermissionGrantType
autoManageStatusBarEnabled?: boolean
enableApplePay?: boolean
basicAuthCredential?: BasicAuthCredential
useWebView2?: boolean
downloadingMessage?: string
lackPermissionToDownloadMessage?: string
allowsProtectedMedia?: boolean
source method
source.body
方法:onOpenWindow?: (event: WebViewOpenWindowEvent) => void
onContentProcessDidTerminate?: (event: WebViewTerminatedEvent) => void
renderLoading?: () => ReactElement;
"onCustomMenuSelection?: (event: {nativeEvent: {
label: string;
key: string;
selectedText: string;
}
}) => void"
实列方法:clearFormData
已上属性和方法需要适配harmonyOS
Why it is needed
原库已适配以上的属性和方法
Possible implementation
以上方法在harmonyOS暂时不支持,没有对应功能的api
Code sample
无
The text was updated successfully, but these errors were encountered: