0
私はこのコードを変換してきました。私自身のニーズにReactDOMBuilder.render内のdivを参照する正しい方法は何ですか?
をし、私がする必要があるrenderメソッド内のポイントになった:
val div = document.getElementById("map")
kotlinGoogleMap(div)
これがそうhttps://blog.frankel.ch/kotlin-front-end-developers/から来ています私が実際に呼びたいのは33行目ですhttps://github.com/nfrankel/kotlin-frontend/blob/master/src/script.kt#L33
私のHomeView.ktレンダリング方法でこれを行う良い方法はありますか?