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

Contents

Description

 
Synopsis

Property

androidAlwaysOverscroll_ :: Bool -> Attribute model action Source #

https://lynxjs.org/api/elements/built-in/viewpager.html#android-always-overscroll

  • Android* only. Controls the bounce effect at the edges.

Default Value: False

androidForceCanScroll_ :: Bool -> Attribute model action Source #

https://lynxjs.org/api/elements/built-in/viewpager.html#android-force-can-scroll

  • Android* only. Prevents gesture pass-through to the parent.

Default Value: False

bounces_ :: Bool -> Attribute model action Source #

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

  • iOS / Desktop / Harmony* only. Enables the spring effect.

Default Value: True

enableScroll_ :: Bool -> Attribute model action Source #

https://lynxjs.org/api/elements/built-in/viewpager.html#enable-scroll

Activates horizontal scroll gestures.

Default Value: True

initialSelectIndex_ :: Int -> Attribute model action Source #

https://lynxjs.org/api/elements/built-in/viewpager.html#initial-select-index

Selects the specified page on initialization.

Default Value: 0

iosGestureDirection_ :: Bool -> Attribute model action Source #

https://lynxjs.org/api/elements/built-in/viewpager.html#ios-gesture-direction

  • iOS* only. Allows the outer container to respond when at the edges.

Default Value: False

iosGestureOffset_ :: Int -> Attribute model action Source #

https://lynxjs.org/api/elements/built-in/viewpager.html#ios-gesture-offset

  • iOS* only. Edge zone distance where the back gesture takes priority.

Default Value: 0

iosRecognizedGestureClass_ :: MisoString -> Attribute model action Source #

https://lynxjs.org/api/elements/built-in/viewpager.html#ios-recognized-gesture-class

  • iOS* only. UIGestureRecognizer class name for simultaneous recognition.

iosRecognizedViewTag_ :: Int -> Attribute model action Source #

https://lynxjs.org/api/elements/built-in/viewpager.html#ios-recognized-view-tag

  • iOS* only. UIView tag identifying the gesture recognizer source.

Default Value: 0

keepItemView_ :: Bool -> Attribute model action Source #

https://lynxjs.org/api/elements/built-in/viewpager.html#keep-item-view

Enables lazy-load mode with early exposure.

Default Value: False