Documentation ¶
Index ¶
- Constants
- type ActionContext
- type AppState
- type IndexPage
- func (ctx *IndexPage) GetCounterDisplay() templ.Component
- func (ctx *IndexPage) GetDecreaseCounterButton() templ.Component
- func (ctx *IndexPage) GetHeaderSection() templ.Component
- func (ctx *IndexPage) GetIncreaseCounterButton() templ.Component
- func (ctx *IndexPage) GetMainSection() templ.Component
- func (ctx *IndexPage) Render() string
Constants ¶
View Source
const ( PingAction = "ping" CounterAction = "count" ReloadAction = "reload" DoubleClickNoticeAction = "doubleClickNotice" ContextMenuNoticeAction = "contextMenuNotice" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionContext ¶
func (ActionContext) GetClientId ¶
func (ctx ActionContext) GetClientId() string
type AppState ¶
type AppState struct {
Counter int
}
func NewAppState ¶
func NewAppState() *AppState
type IndexPage ¶
type IndexPage struct { Context *gin.Context Title string BlueButtonStyle *utils.Style RedButtonStyle *utils.Style HeadlineStyle *utils.Style }
func NewIndexPage ¶
func (*IndexPage) GetCounterDisplay ¶ added in v0.0.4
func (*IndexPage) GetDecreaseCounterButton ¶ added in v0.0.4
func (*IndexPage) GetHeaderSection ¶ added in v0.0.15
func (*IndexPage) GetIncreaseCounterButton ¶ added in v0.0.4
func (*IndexPage) GetMainSection ¶ added in v0.0.15
Click to show internal directories.
Click to hide internal directories.