miso
Copyright(C) 2016-2026 David M. Johnson
LicenseBSD3-style (see the file LICENSE)
MaintainerDavid M. Johnson <code@dmj.io>
Stabilityexperimental
Portabilitynon-portable
Safe HaskellNone
LanguageHaskell2010

Miso.Native.X.Element.Webview.Property

Contents

Description

 
Synopsis

Property

bounces_ :: Bool -> Attribute model action Source #

https://lynxjs.org/api/elements/built-in/webview.html#bounces

  • iOS* only. Enables the bounce effect.

Default Value: False

enableDebug_ :: Bool -> Attribute model action Source #

https://lynxjs.org/api/elements/built-in/webview.html#enable-debug

Enables WebView debugging on Android so it can be debugged in Chrome DevTools.

Default Value: False

html_ :: MisoString -> Attribute model action Source #

https://lynxjs.org/api/elements/built-in/webview.html#html

  • Lynx 3.6+*. A string of HTML content to load. Automatically refreshes when the HTML changes. Lower priority than src_.

initjs_ :: MisoString -> Attribute model action Source #

https://lynxjs.org/api/elements/built-in/webview.html#initjs

  • Desktop, Lynx 3.5+*. Executes JavaScript when the document is ready.

params_ :: Value -> Attribute model action Source #

https://lynxjs.org/api/elements/built-in/webview.html#params

Params for the external webview implementation.

src_ :: MisoString -> Attribute model action Source #

https://lynxjs.org/api/elements/built-in/webview.html#src

The location of a resource on a remote server.

src_ "https://url.com"

useOsr_ :: Bool -> Attribute model action Source #

https://lynxjs.org/api/elements/built-in/webview.html#use-osr

  • Desktop, Lynx 3.5+*. Whether to enable offscreen rendering mode.

Default Value: False

webviewType_ :: MisoString -> Attribute model action Source #

https://lynxjs.org/api/elements/built-in/webview.html#webview-type

Specifies the type of webview; it can be an implementation of a webview injected from LynxService.

Default Value: "default"