| Copyright | (C) 2016-2026 David M. Johnson |
|---|---|
| License | BSD3-style (see the file LICENSE) |
| Maintainer | David M. Johnson <code@dmj.io> |
| Stability | experimental |
| Portability | non-portable |
| Safe Haskell | None |
| Language | Haskell2010 |
Miso.Native.X.Element.Viewpager.Property
Contents
Description
Synopsis
- androidAlwaysOverscroll_ :: Bool -> Attribute model action
- androidForceCanScroll_ :: Bool -> Attribute model action
- bounces_ :: Bool -> Attribute model action
- enableScroll_ :: Bool -> Attribute model action
- initialSelectIndex_ :: Int -> Attribute model action
- iosGestureDirection_ :: Bool -> Attribute model action
- iosGestureOffset_ :: Int -> Attribute model action
- iosRecognizedGestureClass_ :: MisoString -> Attribute model action
- iosRecognizedViewTag_ :: Int -> Attribute model action
- keepItemView_ :: Bool -> Attribute model action
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.
UIGestureRecognizerclass 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.
UIViewtag 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