Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- xData_ :: Text -> Attribute
- xBind_ :: Text -> Text -> Attribute
- xOn_ :: Text -> Text -> Attribute
- xText_ :: Text -> Attribute
- xHtml_ :: Text -> Attribute
- xModel_ :: [Text] -> Text -> Attribute
- xShow_ :: Text -> Attribute
- xTransition_ :: Maybe Text -> [Text] -> Text -> Attribute
- xFor_ :: Text -> Attribute
- xForKey_ :: Text -> Attribute
- xIf_ :: Text -> Attribute
- xInit_ :: Text -> Attribute
- xEffect_ :: Text -> Attribute
- xRef_ :: Text -> Attribute
- xCloak_ :: Attribute
- xIgnore_ :: Attribute
Documentation
xData_ :: Text -> Attribute Source #
x-data Declare a new Alpine component and its data for a block of HTML
x-bind Dynamically set HTML attributes on an element
x-model Synchronize a piece of data with an input element
x-transition Transition an element in and out using CSS transitions
xIf_ :: Text -> Attribute Source #
x-if Conditionally add/remove a block of HTML from the page entirely.
xEffect_ :: Text -> Attribute Source #
x-effect Execute a script each time one of its dependancies change
xRef_ :: Text -> Attribute Source #
x-ref Reference elements directly by their specified keys using the $refs magic property
x-cloak Hide a block of HTML until after Alpine is finished initializing its contents