Skip to content

Commit

Permalink
Merge pull request #1229 from patrykmichalik/webview-documentation-ty…
Browse files Browse the repository at this point in the history
…po-fix

[WebView] Correct typos in documentation
  • Loading branch information
bentrengrove committed Jul 7, 2022
2 parents 47e2bdb + 0d87753 commit 7b62cdc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/webview.md
Expand Up @@ -22,9 +22,9 @@ This will display a WebView in your Compose layout that shows the URL provided.

There is a larger sample in the sample app which can be found [here](https://github.com/google/accompanist/blob/main/sample/src/main/java/com/google/accompanist/sample/webview/BasicWebViewSample.kt). This sample also shows how to show a loading state.

### WebView settings including Javascript
### WebView settings including JavaScript

By default, javascript is disabled in the WebView. To enable it or any other settings you can use the `onCreated` callback.
By default, JavaScript is disabled in the WebView. To enable it or any other settings you can use the `onCreated` callback.

```kotlin
WebView(
Expand Down

0 comments on commit 7b62cdc

Please sign in to comment.