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.Overlay.Property

Description

 
Synopsis

Property

iosEnableSwipeBack_ :: Bool -> Attribute model action Source #

https://lynxjs.org/api/elements/built-in/overlay.html#ios-enable-swipe-back

  • iOS* only. When the overlay is displayed, whether swiping right closes the current page.

Default Value: False

level_ :: OverlayLevel -> Attribute model action Source #

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

Layer level, from Level1 to Level4. The larger the value, the closer it is to the bottom.

level_ Level2

Default Value: Level1

mode_ :: OverlayMode -> Attribute model action Source #

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

  • iOS* only. The level at which the overlay content resides. Use ModeOther for a custom client class name.
mode_ ModeTop

Default Value: ModeWindow

visible_ :: Bool -> Attribute model action Source #

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

Controls whether the overlay is displayed.

Default Value: False

Types

data OverlayLevel Source #

Layer level of an <overlay>, used by level_.

Constructors

Level1 
Level2 
Level3 
Level4 

data OverlayMode Source #

The level at which the overlay content resides (iOS), used by mode_. ModeOther carries a custom client class name.