| 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.Textarea.Property
Description
Synopsis
- androidFullscreenMode_ :: Bool -> Attribute model action
- bounces_ :: Bool -> Attribute model action
- confirmType_ :: ConfirmType -> Attribute model action
- disabled_ :: Bool -> Attribute model action
- enableScrollBar_ :: Bool -> Attribute model action
- inputFilter_ :: MisoString -> Attribute model action
- iosAutoCorrect_ :: Bool -> Attribute model action
- iosSpellCheck_ :: Bool -> Attribute model action
- lineSpacing_ :: Double -> Attribute model action
- maxlength_ :: Int -> Attribute model action
- maxlines_ :: Int -> Attribute model action
- placeholder_ :: MisoString -> Attribute model action
- readonly_ :: Bool -> Attribute model action
- showSoftInputOnFocus_ :: Bool -> Attribute model action
- type_ :: TextareaType -> Attribute model action
- data TextareaType
- data ConfirmType
Property
androidFullscreenMode_ :: Bool -> Attribute model action Source #
https://lynxjs.org/api/elements/built-in/textarea.html#android-fullscreen-mode
Whether to enter the full-screen input mode when in landscape screen.
Default Value: True
bounces_ :: Bool -> Attribute model action Source #
https://lynxjs.org/api/elements/built-in/textarea.html#bounces
- iOS* only. Bounce effect when scrolling past the boundary.
Default Value: True
confirmType_ :: ConfirmType -> Attribute model action Source #
https://lynxjs.org/api/elements/built-in/textarea.html#confirm-type
Specifies the confirm button type.
Default Value: ConfirmDone
disabled_ :: Bool -> Attribute model action Source #
https://lynxjs.org/api/elements/built-in/textarea.html#disabled
Controls whether interaction is enabled.
Default Value: False
enableScrollBar_ :: Bool -> Attribute model action Source #
https://lynxjs.org/api/elements/built-in/textarea.html#enable-scroll-bar
Whether to show the scroll bar.
Default Value: False
inputFilter_ :: MisoString -> Attribute model action Source #
https://lynxjs.org/api/elements/built-in/textarea.html#input-filter
Filters the input content in the form of a regular expression.
iosAutoCorrect_ :: Bool -> Attribute model action Source #
https://lynxjs.org/api/elements/built-in/textarea.html#ios-auto-correct
Enables auto-correction on iOS.
Default Value: True
iosSpellCheck_ :: Bool -> Attribute model action Source #
https://lynxjs.org/api/elements/built-in/textarea.html#ios-spell-check
Enables spell-checking on iOS.
Default Value: True
lineSpacing_ :: Double -> Attribute model action Source #
maxlength_ :: Int -> Attribute model action Source #
https://lynxjs.org/api/elements/built-in/textarea.html#maxlength
Maximum input length allowed.
Default Value: 140
maxlines_ :: Int -> Attribute model action Source #
https://lynxjs.org/api/elements/built-in/textarea.html#maxlines
Maximum number of input lines.
placeholder_ :: MisoString -> Attribute model action Source #
https://lynxjs.org/api/elements/built-in/textarea.html#placeholder
Placeholder text display.
readonly_ :: Bool -> Attribute model action Source #
https://lynxjs.org/api/elements/built-in/textarea.html#readonly
Makes the input read-only.
Default Value: False
showSoftInputOnFocus_ :: Bool -> Attribute model action Source #
https://lynxjs.org/api/elements/built-in/textarea.html#show-soft-input-on-focus
Show soft input keyboard while focused.
Default Value: True
type_ :: TextareaType -> Attribute model action Source #
https://lynxjs.org/api/elements/built-in/textarea.html#type
Input content type.
Default Value: TextareaText
Types
data TextareaType Source #
The content type of a <textarea>, used by type_.
Constructors
| TextareaNumber | |
| TextareaText | |
| TextareaDigit | |
| TextareaTel | |
| TextareaEmail |
Instances
| Show TextareaType Source # | |
Defined in Miso.Native.X.Element.Textarea.Property Methods showsPrec :: Int -> TextareaType -> ShowS # show :: TextareaType -> String # showList :: [TextareaType] -> ShowS # | |
| Eq TextareaType Source # | |
Defined in Miso.Native.X.Element.Textarea.Property | |
| ToJSON TextareaType Source # | |
Defined in Miso.Native.X.Element.Textarea.Property | |
data ConfirmType Source #
The confirm button type of a <textarea>, used by confirmType_.
Constructors
| ConfirmSearch | |
| ConfirmSend | |
| ConfirmGo | |
| ConfirmDone | |
| ConfirmNext |
Instances
| Show ConfirmType Source # | |
Defined in Miso.Native.X.Element.Textarea.Property Methods showsPrec :: Int -> ConfirmType -> ShowS # show :: ConfirmType -> String # showList :: [ConfirmType] -> ShowS # | |
| Eq ConfirmType Source # | |
Defined in Miso.Native.X.Element.Textarea.Property | |
| ToJSON ConfirmType Source # | |
Defined in Miso.Native.X.Element.Textarea.Property | |