| 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.ScrollCoordinator.Property
Description
Synopsis
- androidNestedScrollAsChild_ :: Bool -> Attribute model action
- bounces_ :: Bool -> Attribute model action
- enableScroll_ :: Bool -> Attribute model action
- enableScrollBar_ :: Bool -> Attribute model action
- granularity_ :: Double -> Attribute model action
- headerOverSlot_ :: Bool -> Attribute model action
- iosForceScrollDetach_ :: Bool -> Attribute model action
- iosScrollsToTop_ :: Bool -> Attribute model action
- refreshMode_ :: RefreshMode -> Attribute model action
- data RefreshMode
Property
androidNestedScrollAsChild_ :: Bool -> Attribute model action Source #
https://lynxjs.org/api/elements/built-in/scroll-coordinator.html#android-nested-scroll-as-child
- Android* only. Enables nested scroll behavior as a child element in other scrolling widgets.
Default Value: False
bounces_ :: Bool -> Attribute model action Source #
https://lynxjs.org/api/elements/built-in/scroll-coordinator.html#bounces
- iOS / Harmony* only. Enables the bounce effect when scrolling past the boundary.
Default Value: True
enableScroll_ :: Bool -> Attribute model action Source #
https://lynxjs.org/api/elements/built-in/scroll-coordinator.html#enable-scroll
Controls whether vertical scrolling is permitted.
Default Value: True
enableScrollBar_ :: Bool -> Attribute model action Source #
https://lynxjs.org/api/elements/built-in/scroll-coordinator.html#enable-scroll-bar
- iOS / Harmony* only. Determines scrollbar visibility during coordinator scrolling.
Default Value: False
granularity_ :: Double -> Attribute model action Source #
https://lynxjs.org/api/elements/built-in/scroll-coordinator.html#granularity
The event response granularity of bindoffset.
Default Value: 0.01
headerOverSlot_ :: Bool -> Attribute model action Source #
https://lynxjs.org/api/elements/built-in/scroll-coordinator.html#header-over-slot
Controls header layering hierarchy relative to slot content.
Default Value: False
iosForceScrollDetach_ :: Bool -> Attribute model action Source #
https://lynxjs.org/api/elements/built-in/scroll-coordinator.html#ios-force-scroll-detach
- iOS* only. Forces
nested-vertical-scroll-behaviorinvalidation.
Default Value: False
iosScrollsToTop_ :: Bool -> Attribute model action Source #
https://lynxjs.org/api/elements/built-in/scroll-coordinator.html#ios-scrolls-to-top
- iOS* only. Enables status-bar tap-to-scroll-top functionality.
Default Value: False
refreshMode_ :: RefreshMode -> Attribute model action Source #
https://lynxjs.org/api/elements/built-in/scroll-coordinator.html#refresh-mode
- iOS* only. The pull-to-refresh mode of the foldview.
refreshMode_ RefreshFold
Default Value: RefreshNone
Types
data RefreshMode Source #
The pull-to-refresh mode of the foldview (iOS), used by refreshMode_.
Constructors
| RefreshNone | |
| RefreshPage | |
| RefreshFold |
Instances
| Show RefreshMode Source # | |
Defined in Miso.Native.X.Element.ScrollCoordinator.Property Methods showsPrec :: Int -> RefreshMode -> ShowS # show :: RefreshMode -> String # showList :: [RefreshMode] -> ShowS # | |
| Eq RefreshMode Source # | |
| ToJSON RefreshMode Source # | |