action

package
v1.1.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 22, 2020 License: Apache-2.0 Imports: 4 Imported by: 73

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JumpAction

type JumpAction struct {
	BtnId string
	Url   string
	Ext   template.HTML
	JS    template.JS
}

func Jump

func Jump(url string, ext ...template.HTML) *JumpAction

func (*JumpAction) BtnAttribute

func (jump *JumpAction) BtnAttribute() template.HTML

func (*JumpAction) ExtContent

func (jump *JumpAction) ExtContent() template.HTML

func (*JumpAction) GetCallbacks added in v1.1.8

func (jump *JumpAction) GetCallbacks() context.Node

func (*JumpAction) Js

func (jump *JumpAction) Js() template.JS

func (*JumpAction) SetBtnId

func (jump *JumpAction) SetBtnId(btnId string)

type PopUpAction

type PopUpAction struct {
	BtnId    string
	Url      string
	Method   string
	Id       string
	Title    string
	Handlers []context.Handler
}
func PopUp(url, title string, handlers ...context.Handler) *PopUpAction

func (*PopUpAction) BtnAttribute

func (pop *PopUpAction) BtnAttribute() template.HTML

func (*PopUpAction) ExtContent

func (pop *PopUpAction) ExtContent() template.HTML

func (*PopUpAction) GetCallbacks added in v1.1.8

func (pop *PopUpAction) GetCallbacks() context.Node

func (*PopUpAction) Js

func (pop *PopUpAction) Js() template.JS

func (*PopUpAction) SetBtnId

func (pop *PopUpAction) SetBtnId(btnId string)

func (*PopUpAction) SetMethod added in v1.1.8

func (pop *PopUpAction) SetMethod(method string)

func (*PopUpAction) SetUrl added in v1.1.8

func (pop *PopUpAction) SetUrl(url string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL