Documentation ¶
Overview ¶
Package controls contains example pages that demonstrate how to set up and use various Goradd controls. Most Goradd controls mirror html controls.
Index ¶
- Constants
- func RegisterPanel(key string, name string, f createFunction)
- type ControlsForm
- func (ctrl *ControlsForm) AddHeadTags()
- func (f *ControlsForm) AddRelatedFiles()
- func (f *ControlsForm) BindData(ctx context.Context, s DataManagerI)
- 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 ControlsFormDetailID = "detailPanel"
View Source
const ControlsFormId = "ControlsForm"
View Source
const ControlsFormListID = "listPanel"
View Source
const ControlsFormPath = "/goradd/examples/controls.g"
View Source
const (
TestButtonAction = iota + 1
)
Variables ¶
This section is empty.
Functions ¶
func RegisterPanel ¶ added in v0.1.1
Types ¶
type ControlsForm ¶
type ControlsForm struct {
FormBase
}
func (*ControlsForm) AddHeadTags ¶
func (ctrl *ControlsForm) AddHeadTags()
AddHeadTags adds items that will appear in the head tag of the html page.
func (*ControlsForm) AddRelatedFiles ¶ added in v0.13.3
func (f *ControlsForm) AddRelatedFiles()
func (*ControlsForm) BindData ¶ added in v0.1.1
func (f *ControlsForm) BindData(ctx context.Context, s DataManagerI)
func (*ControlsForm) CreateControls ¶ added in v0.29.0
func (f *ControlsForm) CreateControls(ctx context.Context)
func (*ControlsForm) DrawTemplate ¶
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 ¶
func (f *ControlsForm) LoadControls(ctx context.Context)
Click to show internal directories.
Click to hide internal directories.