| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Language.Javascript.JSaddle.WKWebView.Internal
- jsaddleMain :: JSM () -> WKWebView -> IO ()
- jsaddleMainFile :: ByteString -> ByteString -> JSM () -> WKWebView -> IO ()
- newtype WKWebView = WKWebView (Ptr WKWebView)
- mainBundleResourcePath :: IO (Maybe ByteString)
Documentation
Arguments
| :: ByteString | The file to navigate to. |
| -> ByteString | The path to allow read access to. |
| -> JSM () | |
| -> WKWebView | |
| -> IO () |
Run JSaddle in a WKWebView first loading the specified file from the mainBundle (relative to the resourcePath).