Documentation
¶
Index ¶
- Constants
- func AsyncThunk(asyncFuncLines string) string
- func Bind(attributeName, expression string) gomps.NODE
- func BodySanitize(r *http.Request, sanitizer *sanitize.Sanitizer, store any) error
- func BodyUnmarshal(r *http.Request, store any) error
- func CDN() gomps.NODE
- func FetchURL(expression string) gomps.NODE
- func Focus(expression string) gomps.NODE
- func FragmentSelector(querySelector string) gomps.NODE
- func FragmentSwap(swapType FragmentSwapType) gomps.NODE
- func Header(header, expression string) gomps.NODE
- func Latest() gomps.NODE
- func LatestRunAllPlugins() gomps.NODE
- func MergeStore(m any) gomps.NODE
- func Model(expression string) gomps.NODE
- func On(eventName, expression string) gomps.NODE
- func QueryStringUnmarshal(r *http.Request, store any) error
- func Ref(name string) gomps.NODE
- func ScrollIntoView() gomps.NODE
- func ServerSentEvents(expression string) gomps.NODE
- func Show(booleanExpression string) gomps.NODE
- func Teleport(querySelectorExpression string) gomps.NODE
- func Text(expression string) gomps.NODE
- func TextF(format string, args ...interface{}) gomps.NODE
- type FragmentSwapType
Constants ¶
View Source
const ( GET_ACTION = "$$get" POST_ACTION = "$$post" PUT_ACTION = "$$put" PATCH_ACTION = "$$patch" DELETE_ACTION = "$$delete" )
Variables ¶
This section is empty.
Functions ¶
func AsyncThunk ¶ added in v0.0.18
func BodySanitize ¶ added in v0.0.26
func FragmentSelector ¶
func FragmentSwap ¶
func FragmentSwap(swapType FragmentSwapType) gomps.NODE
func LatestRunAllPlugins ¶
func MergeStore ¶
func QueryStringUnmarshal ¶ added in v0.0.26
func ScrollIntoView ¶
func ServerSentEvents ¶
Types ¶
type FragmentSwapType ¶
type FragmentSwapType string
const ( FragmentSwapMorph FragmentSwapType = "morph" FragmentSwapInner FragmentSwapType = "inner" FragmentSwapOuter FragmentSwapType = "outer" FragmentSwapPrepend FragmentSwapType = "prepend" FragmentSwapAppend FragmentSwapType = "append" FragmentSwapBefore FragmentSwapType = "before" FragmentSwapAfter FragmentSwapType = "after" FragmentSwapDelete FragmentSwapType = "delete" )
Click to show internal directories.
Click to hide internal directories.