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

Description

 
Synopsis

Property

androidFullscreenMode_ :: Bool -> Attribute model action Source #

https://lynxjs.org/api/elements/built-in/input.html#android-fullscreen-mode

Whether to enter the full-screen input mode when in landscape screen.

androidFullscreenMode_ False

Default Value: True

confirmType_ :: ConfirmType -> Attribute model action Source #

https://lynxjs.org/api/elements/built-in/input.html#confirm-type

Specifies the confirm button type.

confirmType_ ConfirmDone

Default Value: ConfirmSend

disabled_ :: Bool -> Attribute model action Source #

https://lynxjs.org/api/elements/built-in/input.html#disabled

Controls whether interaction is enabled.

disabled_ True

Default Value: False

inputFilter_ :: MisoString -> Attribute model action Source #

https://lynxjs.org/api/elements/built-in/input.html#input-filter

Filters the input content in the form of a regular expression.

inputFilter_ "[0-9]"

iosAutoCorrect_ :: Bool -> Attribute model action Source #

https://lynxjs.org/api/elements/built-in/input.html#ios-auto-correct

Enables auto-correction on iOS.

iosAutoCorrect_ False

Default Value: True

iosSpellCheck_ :: Bool -> Attribute model action Source #

https://lynxjs.org/api/elements/built-in/input.html#ios-spell-check

Enables spell-checking on iOS.

iosSpellCheck_ False

Default Value: True

maxlength_ :: Int -> Attribute model action Source #

https://lynxjs.org/api/elements/built-in/input.html#maxlength

Maximum input length allowed.

maxlength_ 32

Default Value: 140

placeholder_ :: MisoString -> Attribute model action Source #

https://lynxjs.org/api/elements/built-in/input.html#placeholder

Placeholder text display.

placeholder_ "Enter your name"

readonly_ :: Bool -> Attribute model action Source #

https://lynxjs.org/api/elements/built-in/input.html#readonly

Makes the input read-only.

readonly_ True

Default Value: False

showSoftInputOnFocus_ :: Bool -> Attribute model action Source #

https://lynxjs.org/api/elements/built-in/input.html#show-soft-input-on-focus

Show soft input keyboard while focused.

showSoftInputOnFocus_ False

Default Value: True

type_ :: InputType -> Attribute model action Source #

https://lynxjs.org/api/elements/built-in/input.html#type

Input content type.

type_ InputPassword

Default Value: InputText

Types

data InputType Source #

The content type of an <input>, used by type_.

data ConfirmType Source #

The confirm button type of an <input>, used by confirmType_.