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