Documentation ¶
Index ¶
- Constants
- func RegisterPanel(key string, name string, f createFunction, order int)
- type ControlsForm
- func (ctrl *ControlsForm) AddHeadTags()
- func (f *ControlsForm) CreateControls(ctx context.Context)
- func (ctrl *ControlsForm) DrawTemplate(ctx context.Context, _w io.Writer) (err error)
- func (f *ControlsForm) Init(ctx context.Context, formID string)
- func (f *ControlsForm) LoadControls(ctx context.Context)
Constants ¶
View Source
const ControlsFormId = "BootstrapControlsForm"
View Source
const ControlsFormPath = "/goradd/examples/bootstrap.g"
View Source
const (
TestButtonAction = iota + 1
)
Variables ¶
This section is empty.
Functions ¶
func RegisterPanel ¶ added in v0.2.0
Types ¶
type ControlsForm ¶ added in v0.0.4
type ControlsForm struct {
FormBase
}
func (*ControlsForm) AddHeadTags ¶ added in v0.0.4
func (ctrl *ControlsForm) AddHeadTags()
AddHeadTags adds items that will appear in the head tag of the html page.
func (*ControlsForm) CreateControls ¶ added in v0.29.0
func (f *ControlsForm) CreateControls(ctx context.Context)
func (*ControlsForm) DrawTemplate ¶ added in v0.0.4
DrawTemplate draws the content of the matching form's template file.
func (*ControlsForm) Init ¶ added in v0.5.0
func (f *ControlsForm) Init(ctx context.Context, formID string)
func (*ControlsForm) LoadControls ¶ added in v0.0.4
func (f *ControlsForm) LoadControls(ctx context.Context)
Click to show internal directories.
Click to hide internal directories.