HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

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