Versions in this module Expand all Collapse all v1 v1.2.13 May 18, 2020 v1.2.12 May 18, 2020 Changes in this version + type AjaxAction struct + Alert bool + AlertData AlertData + Data AjaxData + Handlers []context.Handler + Method string + Url string + func Ajax(url string, handler types.Handler) *AjaxAction + func (ajax *AjaxAction) BtnAttribute() template.HTML + func (ajax *AjaxAction) GetCallbacks() context.Node + func (ajax *AjaxAction) Js() template.JS + func (ajax *AjaxAction) SetData(data map[string]interface{}) *AjaxAction + func (ajax *AjaxAction) SetMethod(method string) *AjaxAction + func (ajax *AjaxAction) SetUrl(url string) *AjaxAction + func (ajax *AjaxAction) WithAlert(data ...AlertData) *AjaxAction + type AjaxData map[string]interface + func (a AjaxData) Add(m map[string]interface{}) AjaxData + func (a AjaxData) JSON() string + func NewAjaxData() AjaxData + type AlertData struct + CancelButtonText string + CloseOnConfirm bool + ConfirmButtonColor string + ConfirmButtonText string + ShowCancelButton bool + Title string + Type string + type BaseAction struct + BtnData interface{} + BtnId string + JS template.JS + func (base *BaseAction) BtnAttribute() template.HTML + func (base *BaseAction) BtnClass() template.HTML + func (base *BaseAction) ExtContent() template.HTML + func (base *BaseAction) FooterContent() template.HTML + func (base *BaseAction) GetCallbacks() context.Node + func (base *BaseAction) Js() template.JS + func (base *BaseAction) SetBtnData(data interface{}) + func (base *BaseAction) SetBtnId(btnId string) + type FieldFilterAction struct + Field string + func FieldFilter(field string) *FieldFilterAction + func (jump *FieldFilterAction) ExtContent() template.HTML + type JumpAction struct + Ext template.HTML + NewTabTitle string + Url string + func Jump(url string, ext ...template.HTML) *JumpAction + func JumpInNewTab(url, title string, ext ...template.HTML) *JumpAction + func (jump *JumpAction) BtnAttribute() template.HTML + func (jump *JumpAction) BtnClass() template.HTML + func (jump *JumpAction) ExtContent() template.HTML + func (jump *JumpAction) GetCallbacks() context.Node + type JumpOption struct + Url string + Value string + type JumpOptions []JumpOption + type JumpSelectBoxAction struct + NewTabTitle string + Options JumpOptions + func SelectBoxJump(options JumpOptions) *JumpSelectBoxAction + func (jump *JumpSelectBoxAction) ExtContent() template.HTML + type PopUpAction struct + Data AjaxData + Handlers []context.Handler + Id string + Method string + Title string + Url string + func PopUp(url, title string, handler types.Handler) *PopUpAction + func (pop *PopUpAction) BtnAttribute() template.HTML + func (pop *PopUpAction) FooterContent() template.HTML + func (pop *PopUpAction) GetCallbacks() context.Node + func (pop *PopUpAction) Js() template.JS + func (pop *PopUpAction) SetData(data map[string]interface{}) *PopUpAction + func (pop *PopUpAction) SetMethod(method string) *PopUpAction + func (pop *PopUpAction) SetUrl(url string) *PopUpAction