HORIZON HASKELLDocslts/ghc-10.0.xfc4e5982026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · fc4e598 · 2026-10-11

Modulelucid-alpine-0.1.0.7Haskell2010

Lucid.Alpine

  • 18 values
valuexData_ :: Text -> Attribute
#

x-data Declare a new Alpine component and its data for a block of HTML

valuexCloak_ :: Attribute
#

x-cloak Hide a block of HTML until after Alpine is finished initializing its contents

valuexIf_ :: Text -> Attribute
#

x-if Conditionally add/remove a block of HTML from the page entirely.

valuexIgnore_ :: Attribute
#

x-ignore Prevent a block of HTML from being initialized by Alpine

valuexModel_
  1. :: [Text]

    List of x-model modifiers

  2. -> Text
  3. -> Attribute
#

x-model Synchronize a piece of data with an input element

valuexRef_ :: Text -> Attribute
#

x-ref Reference elements directly by their specified keys using the $refs magic property

valueuseAlpine :: Monad m => HtmlT m ()
#

Use this value in your head_ tag to use Alpine.js in your lucid templates