Skip to content

Commit b2ad870

Browse files
committed
feat:Add comment for Sample
1 parent 5a9e02b commit b2ad870

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

sample/shared/src/commonMain/kotlin/com/kevinnzou/sample/BasicWebViewSample.kt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,12 @@ import kotlinx.coroutines.flow.filter
4242

4343
/**
4444
* Created By Kevin Zou On 2023/9/8
45+
*
46+
* Basic Sample of WebView
47+
*
48+
* Note: Developers targeting the Desktop platform should refer to
49+
* [README.desktop.md](https://github.com/KevinnZou/compose-webview-multiplatform/blob/main/README.desktop.md)
50+
* for setup instructions first.
4551
*/
4652
@Composable
4753
internal fun BasicWebViewSample() {

sample/shared/src/commonMain/kotlin/com/kevinnzou/sample/HtmlWebViewSample.kt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ import kotlinx.coroutines.flow.filter
3030

3131
/**
3232
* Created By Kevin Zou On 2023/9/8
33+
*
34+
* Basic Sample for loading Html in WebView
35+
*
36+
* Note: Developers targeting the Desktop platform should refer to
37+
* [README.desktop.md](https://github.com/KevinnZou/compose-webview-multiplatform/blob/main/README.desktop.md)
38+
* for setup instructions first.
3339
*/
3440
@Composable
3541
internal fun BasicWebViewWithHTMLSample() {

0 commit comments

Comments
 (0)