We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c30e676 commit c5dc943Copy full SHA for c5dc943
Sources/ElementaryHTMX/HTMLAttribute+HTMX.swift
@@ -1,10 +1,11 @@
1
import Elementary
2
3
public extension HTMLAttribute where Tag: HTMLTrait.Attributes.Global {
4
+ /// A namespace for HTMX attributes.
5
+ /// See the [htmx reference](https://htmx.org/reference/) for more information.
6
enum hx {}
7
}
8
-// https://htmx.org/reference/
9
public extension HTMLAttribute.hx {
10
static func get(_ url: String) -> HTMLAttribute {
11
.init(name: "hx-get", value: url)
Sources/ElementaryHTMX/HTMLAttributeValue+HTMX.swift
@@ -1,6 +1,8 @@
public extension HTMLAttributeValue {
+ /// A namespace for HTMX attribute value types.
enum HTMX {}
0 commit comments