action

package
v1.1.7 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2020 License: Apache-2.0 Imports: 3 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) 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
	Id    string
	Title string
}
func PopUp(url, title string) *PopUpAction

func (*PopUpAction) BtnAttribute

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

func (*PopUpAction) ExtContent

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

func (*PopUpAction) Js

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

func (*PopUpAction) SetBtnId

func (pop *PopUpAction) SetBtnId(btnId string)

Jump to

Keyboard shortcuts

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