Documentation
¶
Index ¶
- Constants
- func AsyncThunk(asyncFuncLines string) string
- func Bind(attributeName, expression string) gomps.NODE
- 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 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 FragmentSelector ¶
func FragmentSwap ¶
func FragmentSwap(swapType FragmentSwapType) gomps.NODE
func LatestRunAllPlugins ¶
func MergeStore ¶
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.