| 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.BlurView.Property
Description
Synopsis
- androidCaptureTarget_ :: MisoString -> Attribute model action
- blurEffect_ :: BlurEffect -> Attribute model action
- blurRadius_ :: MisoString -> Attribute model action
- blurSampling_ :: Int -> Attribute model action
- enableAutoBlur_ :: Bool -> Attribute model action
- experimentalUpdateBlurRadius_ :: Bool -> Attribute model action
- glassInteractive_ :: Bool -> Attribute model action
- glassStyle_ :: GlassStyle -> Attribute model action
- glassTintColor_ :: MisoString -> Attribute model action
- spacing_ :: Int -> Attribute model action
- data BlurEffect
- data GlassStyle
Property
androidCaptureTarget_ :: MisoString -> Attribute model action Source #
https://lynxjs.org/api/elements/built-in/blur-view.html#android-capture-target
- Android 3.9+*. The raw id of the Android Lynx view to capture and blur.
blurEffect_ :: BlurEffect -> Attribute model action Source #
https://lynxjs.org/api/elements/built-in/blur-view.html#blur-effect
- iOS* only. Controls brightness of the blurred area; glass variants apply material effects.
blurEffect_ BlurDark
Default Value: BlurLight
blurRadius_ :: MisoString -> Attribute model action Source #
https://lynxjs.org/api/elements/built-in/blur-view.html#blur-radius
Gaussian blur radius specification.
Default Value: "0px"
blurSampling_ :: Int -> Attribute model action Source #
https://lynxjs.org/api/elements/built-in/blur-view.html#blur-sampling
- Android* only. Downsampling ratio for performance optimization.
Default Value: 6
enableAutoBlur_ :: Bool -> Attribute model action Source #
https://lynxjs.org/api/elements/built-in/blur-view.html#enable-auto-blur
- Android* only. Automatic blur update toggle.
Default Value: True
experimentalUpdateBlurRadius_ :: Bool -> Attribute model action Source #
https://lynxjs.org/api/elements/built-in/blur-view.html#experimental-update-blur-radius
- Android 3.4+*. Switches the internal blur-buffer refresh mechanism.
glassInteractive_ :: Bool -> Attribute model action Source #
https://lynxjs.org/api/elements/built-in/blur-view.html#glass-interactive
- iOS 3.8+*. Enables interactive glass effect behavior.
Default Value: False
glassStyle_ :: GlassStyle -> Attribute model action Source #
https://lynxjs.org/api/elements/built-in/blur-view.html#glass-style
- iOS 3.8+*. Glass effect visual appearance.
glassStyle_ GlassClear
Default Value: GlassRegular
glassTintColor_ :: MisoString -> Attribute model action Source #
https://lynxjs.org/api/elements/built-in/blur-view.html#glass-tint-color
- iOS 3.8+*. Tint color applied to the glass effect.
Default Value: "transparent"
spacing_ :: Int -> Attribute model action Source #
https://lynxjs.org/api/elements/built-in/blur-view.html#spacing
- iOS* only. Distance threshold for element merging.
Default Value: 0
Types
data BlurEffect Source #
The blur/material effect of a <blur-view> (iOS), used by blurEffect_.
Constructors
| BlurLight | |
| BlurExtraLight | |
| BlurDark | |
| BlurGlass | |
| BlurGlassContainer |
Instances
| Show BlurEffect Source # | |
Defined in Miso.Native.X.Element.BlurView.Property Methods showsPrec :: Int -> BlurEffect -> ShowS # show :: BlurEffect -> String # showList :: [BlurEffect] -> ShowS # | |
| Eq BlurEffect Source # | |
Defined in Miso.Native.X.Element.BlurView.Property | |
| ToJSON BlurEffect Source # | |
Defined in Miso.Native.X.Element.BlurView.Property | |
data GlassStyle Source #
The glass effect appearance of a <blur-view> (iOS), used by glassStyle_.
Constructors
| GlassClear | |
| GlassRegular |
Instances
| Show GlassStyle Source # | |
Defined in Miso.Native.X.Element.BlurView.Property Methods showsPrec :: Int -> GlassStyle -> ShowS # show :: GlassStyle -> String # showList :: [GlassStyle] -> ShowS # | |
| Eq GlassStyle Source # | |
Defined in Miso.Native.X.Element.BlurView.Property | |
| ToJSON GlassStyle Source # | |
Defined in Miso.Native.X.Element.BlurView.Property | |