ba.sake.sharaf.htmx
package ba.sake.sharaf.htmx
Members list
Type members
Classlikes
object RequestHeaders
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
RequestHeaders.type
object ResponseHeaders
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ResponseHeaders.type
Extensions
Extensions
extension (req: Request)
Attributes
- Returns
-
the current URL of the browser, or empty string if not HTMX request
Attributes
- Returns
-
the user response to an hx-prompt, or empty string
Attributes
- Returns
-
the id of the target element if it exists
Attributes
- Returns
-
the id of the triggered element if it exists
Attributes
- Returns
-
the name of the triggered element if it exists
Attributes
- Returns
-
true if it is an HTMX request
Attributes
- Returns
-
true if it is via an element using hx-boost
Attributes
- Returns
-
true if the request is for history restoration after a miss in the local history cache
In this article