lucid-htmx-0.1.0.7: Use htmx in your lucid templates
Safe HaskellSafe-Inferred
LanguageHaskell2010

Lucid.Htmx

Synopsis

Documentation

useHtmx :: Monad m => HtmlT m () Source #

Place in your head_ tag to use htmx attributes in your lucid template

useHtmxExtension :: Monad m => Text -> HtmlT m () Source #

Place in your template after useHtmx, but before where the extension is used via hxExt_

useHtmxVersion :: Monad m => (Int, Int, Int) -> HtmlT m () Source #

Choose the version of htmx to use using a 3-tuple representing semantic versioning

useHtmxVersionExtension :: Monad m => (Int, Int, Int) -> Text -> HtmlT m () Source #

Choose the version of a htmx extension you want to use. Should only be used when using useHtmxVersion and the semantic version should be the same