Documentation
¶
Index ¶
- type Button
- func (view *Button) IsDisabled() bool
- func (view *Button) Render(args ...interface{}) (string, error)
- func (view *Button) SetAccentColored(b bool) *Button
- func (view *Button) SetColored(b bool) *Button
- func (view *Button) SetConfirmDialogId(b string) *Button
- func (view *Button) SetDisabled(b bool) *Button
- func (view *Button) SetFormId(b string) *Button
- func (view *Button) SetIcon(b string) *Button
- func (view *Button) SetLink(b string) *Button
- func (view *Button) SetMiniRounded(b string) *Button
- func (view *Button) SetRaised(b bool) *Button
- func (view *Button) SetRipple(b bool) *Button
- func (view *Button) SetRounded(b string) *Button
- func (view *Button) SetTarget(b string) *Button
- type CheckIcon
- func (i *CheckIcon) GetIcon() string
- func (view *CheckIcon) GetId() string
- func (view *CheckIcon) GetLabel() interface{}
- func (view *CheckIcon) GetName() string
- func (view *CheckIcon) GetValue() string
- func (view *CheckIcon) IsChecked() bool
- func (view *CheckIcon) Render(args ...interface{}) (string, error)
- func (view *CheckIcon) SetChecked(b bool)
- func (view *CheckIcon) SetDisabled(b bool)
- func (i *CheckIcon) SetIcon(s string)
- func (view *CheckIcon) SetId(b string)
- func (view *CheckIcon) SetLabel(b interface{})
- func (view *CheckIcon) SetName(b string)
- func (view *CheckIcon) SetRipple(b bool)
- func (view *CheckIcon) SetValue(b string)
- type Checkbox
- func (view *Checkbox) GetId() string
- func (view *Checkbox) GetLabel() interface{}
- func (view *Checkbox) GetName() string
- func (view *Checkbox) GetValue() string
- func (view *Checkbox) IsChecked() bool
- func (view *Checkbox) Render(args ...interface{}) (string, error)
- func (view *Checkbox) SetChecked(b bool)
- func (view *Checkbox) SetDisabled(b bool)
- func (view *Checkbox) SetId(b string)
- func (view *Checkbox) SetLabel(b interface{})
- func (view *Checkbox) SetName(b string)
- func (view *Checkbox) SetRipple(b bool)
- func (view *Checkbox) SetValue(b string)
- type CheckboxSlice
- func (view *CheckboxSlice) GetItem(index int, option base.NodeOption) *Checkbox
- func (i *CheckboxSlice) GetItemBlock() string
- func (view *CheckboxSlice) Render(args ...interface{}) (string, error)
- func (view *CheckboxSlice) RenderItem(index int, option base.NodeOption, args ...interface{}) (string, error)
- func (view *CheckboxSlice) SetDisabled(b bool)
- func (view *CheckboxSlice) SetErrors(p base.ErrorProvider)
- func (i *CheckboxSlice) SetItemBlock(s string)
- func (view *CheckboxSlice) SetRipple(b bool)
- func (view *CheckboxSlice) SetValue(s string)
- type Checker
- type ChipAutocomplete
- func (c *ChipAutocomplete) GetError() interface{}
- func (c *ChipAutocomplete) GetLabel() interface{}
- func (c *ChipAutocomplete) GetName() string
- func (c *ChipAutocomplete) GetOptionValueName() string
- func (c *ChipAutocomplete) GetUnreachableRemoteTxt() string
- func (c *ChipAutocomplete) GetUrlCompleter() string
- func (c *ChipAutocomplete) GetUrlCompleterArgs() string
- func (c *ChipAutocomplete) GetUrlCreator() string
- func (c *ChipAutocomplete) GetUrlCreatorArgs() string
- func (c *ChipAutocomplete) GetUrlPlaceholder() string
- func (c *ChipAutocomplete) IsPlaceHolderOnly() bool
- func (view *ChipAutocomplete) Render(args ...interface{}) (string, error)
- func (c *ChipAutocomplete) SetEncodedUrlCompleterArgs(b interface{}) error
- func (c *ChipAutocomplete) SetEncodedUrlCreatorArgs(b interface{}) error
- func (c *ChipAutocomplete) SetError(s interface{})
- func (view *ChipAutocomplete) SetErrors(p base.ErrorProvider)
- func (c *ChipAutocomplete) SetLabel(s interface{})
- func (c *ChipAutocomplete) SetName(b string)
- func (c *ChipAutocomplete) SetOptionValueName(b string)
- func (c *ChipAutocomplete) SetPlaceHolderOnly(b bool)
- func (c *ChipAutocomplete) SetSafeLabel(s string)
- func (c *ChipAutocomplete) SetUnreachableRemoteTxt(b string)
- func (c *ChipAutocomplete) SetUrlCompleter(b string)
- func (c *ChipAutocomplete) SetUrlCompleterArgs(b string)
- func (c *ChipAutocomplete) SetUrlCreator(b string)
- func (c *ChipAutocomplete) SetUrlCreatorArgs(b string)
- func (c *ChipAutocomplete) SetUrlPlaceholder(b string)
- func (view *ChipAutocomplete) Translate(t base.Translator)
- type ComponentWithAComponentsSlice
- func (view *ComponentWithAComponentsSlice) AddCheckboxSlice(name string) *CheckboxSlice
- func (view *ComponentWithAComponentsSlice) AddChipAutocomplete(name string) *ChipAutocomplete
- func (view *ComponentWithAComponentsSlice) AddComponent(some mgc.ViewComponentRenderer)
- func (view *ComponentWithAComponentsSlice) AddCropper(name string) *Cropper
- func (view *ComponentWithAComponentsSlice) AddDate(name string) *InputDate
- func (view *ComponentWithAComponentsSlice) AddFile(name string) *InputFile
- func (view *ComponentWithAComponentsSlice) AddHidden(name string) *Input
- func (view *ComponentWithAComponentsSlice) AddHiddenSlice(name string) *InputSlice
- func (view *ComponentWithAComponentsSlice) AddInputConfirm(name string) *InputConfirm
- func (view *ComponentWithAComponentsSlice) AddPassword(name string) *Input
- func (view *ComponentWithAComponentsSlice) AddRadioSlice(name string) *CheckboxSlice
- func (view *ComponentWithAComponentsSlice) AddSelect(name string) *Select
- func (view *ComponentWithAComponentsSlice) AddSubmit(name string) *Button
- func (view *ComponentWithAComponentsSlice) AddText(name string) *Input
- func (view *ComponentWithAComponentsSlice) AddTextSlice(name string) *InputSlice
- func (view *ComponentWithAComponentsSlice) AddTextarea(name string) *Textarea
- func (view *ComponentWithAComponentsSlice) AddWysiwyg(name string) *Textarea
- func (view *ComponentWithAComponentsSlice) GetButton(name string) *Button
- func (view *ComponentWithAComponentsSlice) GetChipAutocomplete(name string) *ChipAutocomplete
- func (view *ComponentWithAComponentsSlice) GetComponent(name string) mgc.ViewComponentRenderer
- func (view *ComponentWithAComponentsSlice) GetComponents() []mgc.ViewComponentRenderer
- func (view *ComponentWithAComponentsSlice) GetCropper(name string) *Cropper
- func (view *ComponentWithAComponentsSlice) GetExpander() *Expand
- func (view *ComponentWithAComponentsSlice) GetHidden(name string) *Input
- func (view *ComponentWithAComponentsSlice) GetInputConfirm(name string) *InputConfirm
- func (view *ComponentWithAComponentsSlice) GetOptioner(name string) base.Optionner
- func (view *ComponentWithAComponentsSlice) GetPassword(name string) *Input
- func (view *ComponentWithAComponentsSlice) GetSelect(name string) *Select
- func (view *ComponentWithAComponentsSlice) GetSubmit(name string) *Button
- func (view *ComponentWithAComponentsSlice) GetText(name string) *Input
- func (view *ComponentWithAComponentsSlice) GetValueDateSetter(name string) base.ValueDateSetter
- func (view *ComponentWithAComponentsSlice) GetValueSetter(name string) base.ValueSetter
- func (view *ComponentWithAComponentsSlice) GetValueSliceSetter(name string) base.ValueSliceSetter
- type Cropper
- func (c *Cropper) GetAttachIcon() string
- func (c *Cropper) GetClearIcon() string
- func (c *Cropper) GetCurrentImg() string
- func (c *Cropper) GetCurrentImgAttr() template.HTMLAttr
- func (c *Cropper) GetError() interface{}
- func (c *Cropper) GetLabel() interface{}
- func (c *Cropper) GetName() string
- func (c *Cropper) GetResultInputName() string
- func (c *Cropper) GetResultMode() string
- func (c *Cropper) GetValue() string
- func (c *Cropper) IsPlaceHolderOnly() bool
- func (view *Cropper) Render(args ...interface{}) (string, error)
- func (c *Cropper) RoundedPreview(b bool)
- func (c *Cropper) SetAspectRatio(b string)
- func (c *Cropper) SetAttachIcon(b string)
- func (c *Cropper) SetB64ExportHeight(b string)
- func (c *Cropper) SetB64ExportWidth(b string)
- func (c *Cropper) SetClearIcon(b string)
- func (c *Cropper) SetCurrentImg(b string)
- func (c *Cropper) SetDialogCancelText(b string, icon string)
- func (c *Cropper) SetDialogCloseText(b string, icon string)
- func (c *Cropper) SetDialogOkText(b string, icon string)
- func (c *Cropper) SetDialogTitle(b string)
- func (c *Cropper) SetDragMode(b string)
- func (c *Cropper) SetError(s interface{})
- func (view *Cropper) SetErrors(p base.ErrorProvider)
- func (view *Cropper) SetInputTextName(b string)
- func (view *Cropper) SetInputTextValue(b string)
- func (c *Cropper) SetLabel(s interface{})
- func (c *Cropper) SetMovable(b bool)
- func (c *Cropper) SetName(b string)
- func (c *Cropper) SetPlaceHolderOnly(b bool)
- func (c *Cropper) SetResultInputName(b string)
- func (c *Cropper) SetResultMode(b string)
- func (c *Cropper) SetRotatable(b bool)
- func (c *Cropper) SetSafeLabel(s string)
- func (c *Cropper) SetScalable(b bool)
- func (c *Cropper) SetValue(b string)
- func (view *Cropper) Translate(t base.Translator)
- type DataTable
- func (l *DataTable) AddHeader(name string, txt string) *DataTableHeader
- func (l *DataTable) AddRow() *DataTableRow
- func (l *DataTable) GetBtSelector() string
- func (l *DataTable) GetHeader(name string) *DataTableHeader
- func (l *DataTable) GetLinkIcon(name string) string
- func (l *DataTable) GetSortIcon() string
- func (l *DataTable) IsHidePhone(name string) bool
- func (l *DataTable) IsHideTablet(name string) bool
- func (l *DataTable) IsLink(name string) bool
- func (l *DataTable) IsNumeric(name string) bool
- func (l *DataTable) IsSelectable() bool
- func (view *DataTable) Render(args ...interface{}) (string, error)
- func (l *DataTable) SetBaseUrl(some *url.URL)
- func (l *DataTable) SetBtSelector(some string)
- func (l *DataTable) SetEnsureArgs(ensureQueryArgs map[string]string)
- func (l *DataTable) SetHeader(name string, txt string) *DataTableHeader
- func (l *DataTable) SetSelectable(b bool) *DataTable
- func (l *DataTable) SetSortIcon(icon string) *DataTable
- func (l *DataTable) SetSortParamName(sortParamName string)
- func (view *DataTable) Translate(t base.Translator)
- type DataTableCell
- func (l *DataTableCell) GetCellName() string
- func (l *DataTableCell) GetCellTxt() string
- func (l *DataTableCell) GetLinkIcon() string
- func (l *DataTableCell) IsHidePhone() bool
- func (l *DataTableCell) IsHideTablet() bool
- func (l *DataTableCell) IsNumeric() bool
- func (l *DataTableCell) SetCellName(b string) *DataTableCell
- func (l *DataTableCell) SetCellTxt(b string) *DataTableCell
- func (l *DataTableCell) SetDate(value time.Time)
- func (l *DataTableCell) SetHidePhone(b bool) *DataTableCell
- func (l *DataTableCell) SetHideTablet(b bool) *DataTableCell
- func (l *DataTableCell) SetLinkIcon(icon string) *DataTableCell
- func (l *DataTableCell) SetNumeric(numeric bool) *DataTableCell
- func (l *DataTableCell) SetTime(value time.Time)
- type DataTableHeader
- func (l *DataTableHeader) GetCellName() string
- func (l *DataTableHeader) GetCellTxt() string
- func (l *DataTableHeader) GetLinkIcon() string
- func (l *DataTableHeader) GetNextSortdir() string
- func (l *DataTableHeader) GetSortHref() string
- func (l *DataTableHeader) GetSortIcon() string
- func (l *DataTableHeader) GetSortdir() string
- func (l *DataTableHeader) GuessSortdir() string
- func (l *DataTableHeader) IsHidePhone() bool
- func (l *DataTableHeader) IsHideTablet() bool
- func (l *DataTableHeader) IsNumeric() bool
- func (l *DataTableHeader) IsSortable() bool
- func (l *DataTableHeader) SetBaseUrl(some *url.URL)
- func (l *DataTableHeader) SetCellName(b string) *DataTableHeader
- func (l *DataTableHeader) SetCellTxt(b string) *DataTableHeader
- func (l *DataTableHeader) SetEnsureArgs(ensureQueryArgs map[string]string)
- func (l *DataTableHeader) SetHidePhone(b bool) *DataTableHeader
- func (l *DataTableHeader) SetHideTablet(b bool) *DataTableHeader
- func (l *DataTableHeader) SetLinkIcon(icon string) *DataTableHeader
- func (l *DataTableHeader) SetNumeric(numeric bool) *DataTableHeader
- func (l *DataTableHeader) SetSortIcon(icon string) *DataTableHeader
- func (l *DataTableHeader) SetSortParamName(sortParamName string)
- func (l *DataTableHeader) SetSortable(sortable bool) *DataTableHeader
- func (l *DataTableHeader) SetSortdir(s string) *DataTableHeader
- func (view *DataTableHeader) Translate(t base.Translator)
- type DataTableRow
- func (l *DataTableRow) GetCell(name string) *DataTableCell
- func (l *DataTableRow) GetName() string
- func (l *DataTableRow) SetCell(name string, value string) *DataTableRow
- func (l *DataTableRow) SetCellDate(name string, value time.Time) *DataTableRow
- func (l *DataTableRow) SetCellInt64(name string, value int64) *DataTableRow
- func (l *DataTableRow) SetName(name string) *DataTableRow
- type Dialog
- func (view *Dialog) GetTitle() string
- func (view *Dialog) Render(args ...interface{}) (string, error)
- func (view *Dialog) SetBgContainerColor(colorname string)
- func (view *Dialog) SetCancelAttr(t string, v string)
- func (view *Dialog) SetCancelText(t string, icon string)
- func (view *Dialog) SetCloseAttr(t string, v string)
- func (view *Dialog) SetCloseText(t string, icon string)
- func (view *Dialog) SetContent(t string)
- func (view *Dialog) SetErrors(p base.ErrorProvider)
- func (view *Dialog) SetOkAttr(t string, v string)
- func (view *Dialog) SetOkText(t string, icon string)
- func (view *Dialog) SetOverlayColor(colorname string)
- func (view *Dialog) SetTitle(t string)
- func (view *Dialog) Translate(t base.Translator)
- type Dup
- func (view *Dup) AddBtAddClass(p string)
- func (view *Dup) AddBtRemoveClass(p string)
- func (view *Dup) AddComponent(some mgc.ViewComponentRenderer)
- func (view *Dup) Render(args ...interface{}) (string, error)
- func (view *Dup) SetBtAddAttr(p string, v string)
- func (view *Dup) SetBtAddText(p string)
- func (view *Dup) SetBtRemoveAttr(p string, v string)
- func (view *Dup) SetBtRemoveText(p string)
- func (view *Dup) SetDup(duped mgc.ViewComponentRenderer)
- func (view *Dup) SetErrors(p base.ErrorProvider)
- func (view *Dup) Translate(t base.Translator)
- type DupRenderContext
- type Expand
- type Form
- func (view *Form) GetAction() string
- func (view *Form) GetEncType() string
- func (view *Form) GetMethod() string
- func (view *Form) GetTarget() string
- func (view *Form) Render(args ...interface{}) (string, error)
- func (view *Form) SetAction(b string) *Form
- func (view *Form) SetEncType(b string) *Form
- func (view *Form) SetErrors(p base.ErrorProvider)
- func (view *Form) SetMethod(b string) *Form
- func (view *Form) SetTarget(b string) *Form
- func (view *Form) Translate(t base.Translator)
- type GeometryResult
- type Input
- type InputConfirm
- type InputDate
- func (i *InputDate) GetCancelText() string
- func (i *InputDate) GetDate() (time.Time, error)
- func (i *InputDate) GetDisplayFormat() string
- func (i *InputDate) GetDisplayLocale() string
- func (i *InputDate) GetDisplayMode() string
- func (i *InputDate) GetFormat() string
- func (i *InputDate) GetFuture() *time.Time
- func (i *InputDate) GetGoFormat() string
- func (view *InputDate) GetId() string
- func (view *InputDate) GetName() string
- func (i *InputDate) GetOkText() string
- func (i *InputDate) GetOrientation() string
- func (i *InputDate) GetPast() *time.Time
- func (i *InputDate) GetPresent() *time.Time
- func (i *InputDate) IsColon() bool
- func (i *InputDate) MustGetDate() time.Time
- func (view *InputDate) Render(args ...interface{}) (string, error)
- func (i *InputDate) SetCancelText(b string)
- func (i *InputDate) SetColon(b bool)
- func (i *InputDate) SetDate(b time.Time)
- func (i *InputDate) SetDisplayFormat(b string)
- func (i *InputDate) SetDisplayLocale(b string)
- func (i *InputDate) SetDisplayMode(b string)
- func (view *InputDate) SetErrors(p base.ErrorProvider)
- func (i *InputDate) SetFormat(b string)
- func (i *InputDate) SetFuture(b time.Time)
- func (i *InputDate) SetGoFormat(b string)
- func (view *InputDate) SetId(b string)
- func (view *InputDate) SetName(b string)
- func (i *InputDate) SetOkText(b string)
- func (i *InputDate) SetOrientation(b string)
- func (i *InputDate) SetPast(b time.Time)
- func (i *InputDate) SetPresent(b time.Time)
- type InputFile
- func (view *InputFile) GetAttachIcon() string
- func (view *InputFile) GetClearIcon() string
- func (view *InputFile) GetId() string
- func (view *InputFile) GetName() string
- func (view *InputFile) IsMultiple() bool
- func (view *InputFile) Render(args ...interface{}) (string, error)
- func (view *InputFile) SetAttachIcon(b string)
- func (view *InputFile) SetClearIcon(b string)
- func (view *InputFile) SetErrors(p base.ErrorProvider)
- func (view *InputFile) SetId(b string)
- func (view *InputFile) SetInputTextName(b string)
- func (view *InputFile) SetInputTextValue(b string)
- func (view *InputFile) SetMultiple(b bool)
- func (view *InputFile) SetName(b string)
- type InputSlice
- func (view *InputSlice) GetItem(index int, value string) *Input
- func (i *InputSlice) GetItemBlock() string
- func (view *InputSlice) Render(args ...interface{}) (string, error)
- func (view *InputSlice) RenderItem(index int, value string, args ...interface{}) (string, error)
- func (view *InputSlice) SetErrors(p base.ErrorProvider)
- func (i *InputSlice) SetItemBlock(s string)
- type Pagination
- func (view *Pagination) GetPagesCnt() uint64
- func (view *Pagination) GetUrl(p string) string
- func (view *Pagination) GuessCurrentPage()
- func (view *Pagination) HasNextPage() bool
- func (view *Pagination) HasPreviousPage() bool
- func (view *Pagination) Render(args ...interface{}) (string, error)
- func (view *Pagination) SetBaseUrl(u *url.URL)
- func (view *Pagination) SetPageParamName(s string)
- func (view *Pagination) SetPagesCnt(limit uint64, total uint64)
- func (view *Pagination) SetTotalItemCount(limit uint64, total uint64)
- func (view *Pagination) Translate(t base.Translator)
- type PartialInputConfirm
- type Select
- func (i *Select) GetIcon() string
- func (view *Select) GetId() string
- func (view *Select) GetName() string
- func (i *Select) IsMultiple() bool
- func (view *Select) Render(args ...interface{}) (string, error)
- func (view *Select) SetDisabled(b bool)
- func (view *Select) SetErrors(p base.ErrorProvider)
- func (i *Select) SetIcon(s string)
- func (view *Select) SetId(b string)
- func (i *Select) SetMultiple(s bool)
- func (view *Select) SetName(b string)
- func (view *Select) SetRipple(b bool)
- func (view *Select) Translate(t base.Translator)
- func (view *Select) UpdateWindowUrl(b bool)
- type Slice
- type Slider
- func (view *Slider) GetId() string
- func (view *Slider) GetMax() string
- func (view *Slider) GetMin() string
- func (view *Slider) GetName() string
- func (view *Slider) GetStep() string
- func (view *Slider) GetType() string
- func (view *Slider) Render(args ...interface{}) (string, error)
- func (view *Slider) SetErrors(p base.ErrorProvider)
- func (view *Slider) SetId(b string)
- func (view *Slider) SetMax(b string)
- func (view *Slider) SetMin(b string)
- func (view *Slider) SetName(b string)
- func (view *Slider) SetStep(b string)
- func (view *Slider) SetType(b string)
- type Tab
- type Tabs
- type Tag
- func (view *Tag) AddComponent(s mgc.ViewComponentRenderer)
- func (view *Tag) CloseTag() template.HTML
- func (view *Tag) GetTagName() string
- func (view *Tag) OpenTag() template.HTML
- func (view *Tag) OpenTagClose() template.HTML
- func (view *Tag) Render(args ...interface{}) (string, error)
- func (view *Tag) SetTagName(s string)
- type Text
- type Textarea
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Button ¶
type Button struct { mgc.ViewComponent base.Node base.NodeType base.NodeLabel base.NodeSingleValue Link string }
func (*Button) IsDisabled ¶
func (*Button) SetAccentColored ¶
func (*Button) SetColored ¶
func (*Button) SetConfirmDialogId ¶
func (*Button) SetDisabled ¶
func (*Button) SetMiniRounded ¶
func (*Button) SetRounded ¶
type CheckIcon ¶
type CheckIcon struct { mgc.ViewComponent base.Node base.NodeWithOption InputClasses base.ClassList InputAttr base.AttrList Icon string }
func NewCheckIcon ¶
func NewCheckIcon() *CheckIcon
func (*CheckIcon) SetChecked ¶
func (*CheckIcon) SetDisabled ¶
type Checkbox ¶
type Checkbox struct { mgc.ViewComponent base.Node base.NodeType base.NodeWithOption InputClasses base.ClassList InputAttr base.AttrList }
func NewCheckbox ¶
func NewCheckbox() *Checkbox
func (*Checkbox) SetChecked ¶
func (*Checkbox) SetDisabled ¶
type CheckboxSlice ¶
type CheckboxSlice struct { mgc.ViewComponent base.Node base.NodeType base.NodeMutlipleValues base.NodeWithOptions base.NodeSingleError InputClasses base.ClassList InputAttr base.AttrList ItemBlock string }
func NewCheckboxSlice ¶
func NewCheckboxSlice() *CheckboxSlice
func NewRadioSlice ¶
func NewRadioSlice() *CheckboxSlice
func (*CheckboxSlice) GetItem ¶
func (view *CheckboxSlice) GetItem(index int, option base.NodeOption) *Checkbox
func (*CheckboxSlice) GetItemBlock ¶
func (i *CheckboxSlice) GetItemBlock() string
func (*CheckboxSlice) Render ¶
func (view *CheckboxSlice) Render(args ...interface{}) (string, error)
func (*CheckboxSlice) RenderItem ¶
func (view *CheckboxSlice) RenderItem(index int, option base.NodeOption, args ...interface{}) (string, error)
func (*CheckboxSlice) SetDisabled ¶
func (view *CheckboxSlice) SetDisabled(b bool)
func (*CheckboxSlice) SetErrors ¶
func (view *CheckboxSlice) SetErrors(p base.ErrorProvider)
func (*CheckboxSlice) SetItemBlock ¶
func (i *CheckboxSlice) SetItemBlock(s string)
func (*CheckboxSlice) SetRipple ¶
func (view *CheckboxSlice) SetRipple(b bool)
func (*CheckboxSlice) SetValue ¶
func (view *CheckboxSlice) SetValue(s string)
type ChipAutocomplete ¶
type ChipAutocomplete struct { mgc.ViewComponent base.Node base.NodeWithOptions ResultsAttr base.AttrList ResultsClasses base.ClassList SelectAttr base.AttrList SelectClasses base.ClassList Input *Input }
func NewChipAutocomplete ¶
func NewChipAutocomplete() *ChipAutocomplete
func (*ChipAutocomplete) GetError ¶
func (c *ChipAutocomplete) GetError() interface{}
func (*ChipAutocomplete) GetLabel ¶
func (c *ChipAutocomplete) GetLabel() interface{}
func (*ChipAutocomplete) GetName ¶
func (c *ChipAutocomplete) GetName() string
func (*ChipAutocomplete) GetOptionValueName ¶
func (c *ChipAutocomplete) GetOptionValueName() string
func (*ChipAutocomplete) GetUnreachableRemoteTxt ¶
func (c *ChipAutocomplete) GetUnreachableRemoteTxt() string
func (*ChipAutocomplete) GetUrlCompleter ¶
func (c *ChipAutocomplete) GetUrlCompleter() string
func (*ChipAutocomplete) GetUrlCompleterArgs ¶
func (c *ChipAutocomplete) GetUrlCompleterArgs() string
func (*ChipAutocomplete) GetUrlCreator ¶
func (c *ChipAutocomplete) GetUrlCreator() string
func (*ChipAutocomplete) GetUrlCreatorArgs ¶
func (c *ChipAutocomplete) GetUrlCreatorArgs() string
func (*ChipAutocomplete) GetUrlPlaceholder ¶
func (c *ChipAutocomplete) GetUrlPlaceholder() string
func (*ChipAutocomplete) IsPlaceHolderOnly ¶
func (c *ChipAutocomplete) IsPlaceHolderOnly() bool
func (*ChipAutocomplete) Render ¶
func (view *ChipAutocomplete) Render(args ...interface{}) (string, error)
func (*ChipAutocomplete) SetEncodedUrlCompleterArgs ¶
func (c *ChipAutocomplete) SetEncodedUrlCompleterArgs(b interface{}) error
func (*ChipAutocomplete) SetEncodedUrlCreatorArgs ¶
func (c *ChipAutocomplete) SetEncodedUrlCreatorArgs(b interface{}) error
func (*ChipAutocomplete) SetError ¶
func (c *ChipAutocomplete) SetError(s interface{})
func (*ChipAutocomplete) SetErrors ¶
func (view *ChipAutocomplete) SetErrors(p base.ErrorProvider)
func (*ChipAutocomplete) SetLabel ¶
func (c *ChipAutocomplete) SetLabel(s interface{})
func (*ChipAutocomplete) SetName ¶
func (c *ChipAutocomplete) SetName(b string)
func (*ChipAutocomplete) SetOptionValueName ¶
func (c *ChipAutocomplete) SetOptionValueName(b string)
func (*ChipAutocomplete) SetPlaceHolderOnly ¶
func (c *ChipAutocomplete) SetPlaceHolderOnly(b bool)
func (*ChipAutocomplete) SetSafeLabel ¶
func (c *ChipAutocomplete) SetSafeLabel(s string)
func (*ChipAutocomplete) SetUnreachableRemoteTxt ¶
func (c *ChipAutocomplete) SetUnreachableRemoteTxt(b string)
func (*ChipAutocomplete) SetUrlCompleter ¶
func (c *ChipAutocomplete) SetUrlCompleter(b string)
func (*ChipAutocomplete) SetUrlCompleterArgs ¶
func (c *ChipAutocomplete) SetUrlCompleterArgs(b string)
func (*ChipAutocomplete) SetUrlCreator ¶
func (c *ChipAutocomplete) SetUrlCreator(b string)
func (*ChipAutocomplete) SetUrlCreatorArgs ¶
func (c *ChipAutocomplete) SetUrlCreatorArgs(b string)
func (*ChipAutocomplete) SetUrlPlaceholder ¶
func (c *ChipAutocomplete) SetUrlPlaceholder(b string)
func (*ChipAutocomplete) Translate ¶
func (view *ChipAutocomplete) Translate(t base.Translator)
type ComponentWithAComponentsSlice ¶
type ComponentWithAComponentsSlice struct {
Components *base.ComponentsSlice
}
func NewComponentWithAComponentsSlice ¶
func NewComponentWithAComponentsSlice() *ComponentWithAComponentsSlice
func (*ComponentWithAComponentsSlice) AddCheckboxSlice ¶
func (view *ComponentWithAComponentsSlice) AddCheckboxSlice(name string) *CheckboxSlice
func (*ComponentWithAComponentsSlice) AddChipAutocomplete ¶
func (view *ComponentWithAComponentsSlice) AddChipAutocomplete(name string) *ChipAutocomplete
func (*ComponentWithAComponentsSlice) AddComponent ¶
func (view *ComponentWithAComponentsSlice) AddComponent(some mgc.ViewComponentRenderer)
func (*ComponentWithAComponentsSlice) AddCropper ¶
func (view *ComponentWithAComponentsSlice) AddCropper(name string) *Cropper
func (*ComponentWithAComponentsSlice) AddDate ¶
func (view *ComponentWithAComponentsSlice) AddDate(name string) *InputDate
func (*ComponentWithAComponentsSlice) AddFile ¶
func (view *ComponentWithAComponentsSlice) AddFile(name string) *InputFile
func (*ComponentWithAComponentsSlice) AddHidden ¶
func (view *ComponentWithAComponentsSlice) AddHidden(name string) *Input
func (*ComponentWithAComponentsSlice) AddHiddenSlice ¶
func (view *ComponentWithAComponentsSlice) AddHiddenSlice(name string) *InputSlice
func (*ComponentWithAComponentsSlice) AddInputConfirm ¶
func (view *ComponentWithAComponentsSlice) AddInputConfirm(name string) *InputConfirm
func (*ComponentWithAComponentsSlice) AddPassword ¶
func (view *ComponentWithAComponentsSlice) AddPassword(name string) *Input
func (*ComponentWithAComponentsSlice) AddRadioSlice ¶
func (view *ComponentWithAComponentsSlice) AddRadioSlice(name string) *CheckboxSlice
func (*ComponentWithAComponentsSlice) AddSelect ¶
func (view *ComponentWithAComponentsSlice) AddSelect(name string) *Select
func (*ComponentWithAComponentsSlice) AddSubmit ¶
func (view *ComponentWithAComponentsSlice) AddSubmit(name string) *Button
func (*ComponentWithAComponentsSlice) AddText ¶
func (view *ComponentWithAComponentsSlice) AddText(name string) *Input
func (*ComponentWithAComponentsSlice) AddTextSlice ¶
func (view *ComponentWithAComponentsSlice) AddTextSlice(name string) *InputSlice
func (*ComponentWithAComponentsSlice) AddTextarea ¶
func (view *ComponentWithAComponentsSlice) AddTextarea(name string) *Textarea
func (*ComponentWithAComponentsSlice) AddWysiwyg ¶
func (view *ComponentWithAComponentsSlice) AddWysiwyg(name string) *Textarea
func (*ComponentWithAComponentsSlice) GetButton ¶
func (view *ComponentWithAComponentsSlice) GetButton(name string) *Button
func (*ComponentWithAComponentsSlice) GetChipAutocomplete ¶
func (view *ComponentWithAComponentsSlice) GetChipAutocomplete(name string) *ChipAutocomplete
func (*ComponentWithAComponentsSlice) GetComponent ¶
func (view *ComponentWithAComponentsSlice) GetComponent(name string) mgc.ViewComponentRenderer
func (*ComponentWithAComponentsSlice) GetComponents ¶
func (view *ComponentWithAComponentsSlice) GetComponents() []mgc.ViewComponentRenderer
func (*ComponentWithAComponentsSlice) GetCropper ¶
func (view *ComponentWithAComponentsSlice) GetCropper(name string) *Cropper
func (*ComponentWithAComponentsSlice) GetExpander ¶
func (view *ComponentWithAComponentsSlice) GetExpander() *Expand
func (*ComponentWithAComponentsSlice) GetHidden ¶
func (view *ComponentWithAComponentsSlice) GetHidden(name string) *Input
func (*ComponentWithAComponentsSlice) GetInputConfirm ¶
func (view *ComponentWithAComponentsSlice) GetInputConfirm(name string) *InputConfirm
func (*ComponentWithAComponentsSlice) GetOptioner ¶
func (view *ComponentWithAComponentsSlice) GetOptioner(name string) base.Optionner
func (*ComponentWithAComponentsSlice) GetPassword ¶
func (view *ComponentWithAComponentsSlice) GetPassword(name string) *Input
func (*ComponentWithAComponentsSlice) GetSelect ¶
func (view *ComponentWithAComponentsSlice) GetSelect(name string) *Select
func (*ComponentWithAComponentsSlice) GetSubmit ¶
func (view *ComponentWithAComponentsSlice) GetSubmit(name string) *Button
func (*ComponentWithAComponentsSlice) GetText ¶
func (view *ComponentWithAComponentsSlice) GetText(name string) *Input
func (*ComponentWithAComponentsSlice) GetValueDateSetter ¶
func (view *ComponentWithAComponentsSlice) GetValueDateSetter(name string) base.ValueDateSetter
func (*ComponentWithAComponentsSlice) GetValueSetter ¶
func (view *ComponentWithAComponentsSlice) GetValueSetter(name string) base.ValueSetter
func (*ComponentWithAComponentsSlice) GetValueSliceSetter ¶
func (view *ComponentWithAComponentsSlice) GetValueSliceSetter(name string) base.ValueSliceSetter
type Cropper ¶
type Cropper struct { mgc.ViewComponent base.Node CurrentImgAttr base.AttrList CurrentImgClasses base.ClassList CurrentImg string InputHidden *Input InputFile *InputFile Dialog *Dialog }
func NewCropper ¶
func NewCropper() *Cropper
func (*Cropper) GetAttachIcon ¶
func (*Cropper) GetClearIcon ¶
func (*Cropper) GetCurrentImg ¶
func (*Cropper) GetCurrentImgAttr ¶
func (*Cropper) GetResultInputName ¶
func (*Cropper) GetResultMode ¶
func (*Cropper) IsPlaceHolderOnly ¶
func (*Cropper) RoundedPreview ¶
func (*Cropper) SetAspectRatio ¶
func (*Cropper) SetAttachIcon ¶
func (*Cropper) SetB64ExportHeight ¶
func (*Cropper) SetB64ExportWidth ¶
func (*Cropper) SetClearIcon ¶
func (*Cropper) SetCurrentImg ¶
func (*Cropper) SetDialogCancelText ¶
func (*Cropper) SetDialogCloseText ¶
func (*Cropper) SetDialogOkText ¶
func (*Cropper) SetDialogTitle ¶
func (*Cropper) SetDragMode ¶
func (*Cropper) SetErrors ¶
func (view *Cropper) SetErrors(p base.ErrorProvider)
func (*Cropper) SetInputTextName ¶
func (*Cropper) SetInputTextValue ¶
func (*Cropper) SetMovable ¶
func (*Cropper) SetPlaceHolderOnly ¶
func (*Cropper) SetResultInputName ¶
func (*Cropper) SetResultMode ¶
func (*Cropper) SetRotatable ¶
func (*Cropper) SetSafeLabel ¶
func (*Cropper) SetScalable ¶
func (*Cropper) Translate ¶
func (view *Cropper) Translate(t base.Translator)
type DataTable ¶
type DataTable struct { mgc.ViewComponent Headers []*DataTableHeader Rows []*DataTableRow Classes base.ClassList Attr base.AttrList BaseUrl *url.URL EnsureQueryArgs map[string]string SortParamName string Empty mgc.ViewComponentRenderer SortIcon string }
func NewDataTable ¶
func NewDataTable() *DataTable
func (*DataTable) AddHeader ¶
func (l *DataTable) AddHeader(name string, txt string) *DataTableHeader
func (*DataTable) AddRow ¶
func (l *DataTable) AddRow() *DataTableRow
func (*DataTable) GetBtSelector ¶
func (*DataTable) GetHeader ¶
func (l *DataTable) GetHeader(name string) *DataTableHeader
func (*DataTable) GetLinkIcon ¶
func (*DataTable) GetSortIcon ¶
func (*DataTable) IsHidePhone ¶
func (*DataTable) IsHideTablet ¶
func (*DataTable) IsSelectable ¶
func (*DataTable) SetBaseUrl ¶
func (*DataTable) SetBtSelector ¶
func (*DataTable) SetEnsureArgs ¶
func (*DataTable) SetHeader ¶
func (l *DataTable) SetHeader(name string, txt string) *DataTableHeader
func (*DataTable) SetSelectable ¶
func (*DataTable) SetSortIcon ¶
func (*DataTable) SetSortParamName ¶
func (*DataTable) Translate ¶
func (view *DataTable) Translate(t base.Translator)
type DataTableCell ¶
type DataTableCell struct { Classes base.ClassList Attr base.AttrList CellName string CellTxt string LinkIcon string }
func NewDataTableCell ¶
func NewDataTableCell() *DataTableCell
func (*DataTableCell) GetCellName ¶
func (l *DataTableCell) GetCellName() string
func (*DataTableCell) GetCellTxt ¶
func (l *DataTableCell) GetCellTxt() string
func (*DataTableCell) GetLinkIcon ¶
func (l *DataTableCell) GetLinkIcon() string
func (*DataTableCell) IsHidePhone ¶
func (l *DataTableCell) IsHidePhone() bool
func (*DataTableCell) IsHideTablet ¶
func (l *DataTableCell) IsHideTablet() bool
func (*DataTableCell) IsNumeric ¶
func (l *DataTableCell) IsNumeric() bool
func (*DataTableCell) SetCellName ¶
func (l *DataTableCell) SetCellName(b string) *DataTableCell
func (*DataTableCell) SetCellTxt ¶
func (l *DataTableCell) SetCellTxt(b string) *DataTableCell
func (*DataTableCell) SetDate ¶
func (l *DataTableCell) SetDate(value time.Time)
func (*DataTableCell) SetHidePhone ¶
func (l *DataTableCell) SetHidePhone(b bool) *DataTableCell
func (*DataTableCell) SetHideTablet ¶
func (l *DataTableCell) SetHideTablet(b bool) *DataTableCell
func (*DataTableCell) SetLinkIcon ¶
func (l *DataTableCell) SetLinkIcon(icon string) *DataTableCell
func (*DataTableCell) SetNumeric ¶
func (l *DataTableCell) SetNumeric(numeric bool) *DataTableCell
func (*DataTableCell) SetTime ¶
func (l *DataTableCell) SetTime(value time.Time)
type DataTableHeader ¶
type DataTableHeader struct { Classes base.ClassList Attr base.AttrList BaseUrl *url.URL SortParamName string EnsureQueryArgs map[string]string CellName string CellTxt string LinkIcon string SortDir string SortIcon string }
func (*DataTableHeader) GetCellName ¶
func (l *DataTableHeader) GetCellName() string
func (*DataTableHeader) GetCellTxt ¶
func (l *DataTableHeader) GetCellTxt() string
func (*DataTableHeader) GetLinkIcon ¶
func (l *DataTableHeader) GetLinkIcon() string
func (*DataTableHeader) GetNextSortdir ¶
func (l *DataTableHeader) GetNextSortdir() string
func (*DataTableHeader) GetSortHref ¶
func (l *DataTableHeader) GetSortHref() string
func (*DataTableHeader) GetSortIcon ¶
func (l *DataTableHeader) GetSortIcon() string
func (*DataTableHeader) GetSortdir ¶
func (l *DataTableHeader) GetSortdir() string
func (*DataTableHeader) GuessSortdir ¶
func (l *DataTableHeader) GuessSortdir() string
func (*DataTableHeader) IsHidePhone ¶
func (l *DataTableHeader) IsHidePhone() bool
func (*DataTableHeader) IsHideTablet ¶
func (l *DataTableHeader) IsHideTablet() bool
func (*DataTableHeader) IsNumeric ¶
func (l *DataTableHeader) IsNumeric() bool
func (*DataTableHeader) IsSortable ¶
func (l *DataTableHeader) IsSortable() bool
func (*DataTableHeader) SetBaseUrl ¶
func (l *DataTableHeader) SetBaseUrl(some *url.URL)
func (*DataTableHeader) SetCellName ¶
func (l *DataTableHeader) SetCellName(b string) *DataTableHeader
func (*DataTableHeader) SetCellTxt ¶
func (l *DataTableHeader) SetCellTxt(b string) *DataTableHeader
func (*DataTableHeader) SetEnsureArgs ¶
func (l *DataTableHeader) SetEnsureArgs(ensureQueryArgs map[string]string)
func (*DataTableHeader) SetHidePhone ¶
func (l *DataTableHeader) SetHidePhone(b bool) *DataTableHeader
func (*DataTableHeader) SetHideTablet ¶
func (l *DataTableHeader) SetHideTablet(b bool) *DataTableHeader
func (*DataTableHeader) SetLinkIcon ¶
func (l *DataTableHeader) SetLinkIcon(icon string) *DataTableHeader
func (*DataTableHeader) SetNumeric ¶
func (l *DataTableHeader) SetNumeric(numeric bool) *DataTableHeader
func (*DataTableHeader) SetSortIcon ¶
func (l *DataTableHeader) SetSortIcon(icon string) *DataTableHeader
func (*DataTableHeader) SetSortParamName ¶
func (l *DataTableHeader) SetSortParamName(sortParamName string)
func (*DataTableHeader) SetSortable ¶
func (l *DataTableHeader) SetSortable(sortable bool) *DataTableHeader
func (*DataTableHeader) SetSortdir ¶
func (l *DataTableHeader) SetSortdir(s string) *DataTableHeader
func (*DataTableHeader) Translate ¶
func (view *DataTableHeader) Translate(t base.Translator)
type DataTableRow ¶
type DataTableRow struct { Classes base.ClassList Attr base.AttrList base.NodeSingleValue Cells []*DataTableCell }
func (*DataTableRow) GetCell ¶
func (l *DataTableRow) GetCell(name string) *DataTableCell
func (*DataTableRow) GetName ¶
func (l *DataTableRow) GetName() string
func (*DataTableRow) SetCell ¶
func (l *DataTableRow) SetCell(name string, value string) *DataTableRow
func (*DataTableRow) SetCellDate ¶
func (l *DataTableRow) SetCellDate(name string, value time.Time) *DataTableRow
func (*DataTableRow) SetCellInt64 ¶
func (l *DataTableRow) SetCellInt64(name string, value int64) *DataTableRow
func (*DataTableRow) SetName ¶
func (l *DataTableRow) SetName(name string) *DataTableRow
type Dialog ¶
type Dialog struct { mgc.ViewComponent base.Node Title string BgClasses base.ClassList ContainerClasses base.ClassList Content mgc.ViewComponentRenderer Ok *Button Cancel *Button Close *Button }
func (*Dialog) SetBgContainerColor ¶
func (*Dialog) SetCancelAttr ¶
func (*Dialog) SetCancelText ¶
func (*Dialog) SetCloseAttr ¶
func (*Dialog) SetCloseText ¶
func (*Dialog) SetContent ¶
func (*Dialog) SetErrors ¶
func (view *Dialog) SetErrors(p base.ErrorProvider)
func (*Dialog) SetOverlayColor ¶
func (*Dialog) Translate ¶
func (view *Dialog) Translate(t base.Translator)
type Dup ¶
type Dup struct { mgc.ViewComponent base.Node *ComponentWithAComponentsSlice Duped mgc.ViewComponentRenderer BtRemoveAttr base.AttrList BtRemoveClasses base.ClassList BtRemoveText string BtAddAttr base.AttrList BtAddClasses base.ClassList BtAddText string }
func (*Dup) AddBtAddClass ¶
func (*Dup) AddBtRemoveClass ¶
func (*Dup) AddComponent ¶
func (view *Dup) AddComponent(some mgc.ViewComponentRenderer)
func (*Dup) SetBtAddAttr ¶
func (*Dup) SetBtAddText ¶
func (*Dup) SetBtRemoveAttr ¶
func (*Dup) SetBtRemoveText ¶
func (*Dup) SetDup ¶
func (view *Dup) SetDup(duped mgc.ViewComponentRenderer)
func (*Dup) SetErrors ¶
func (view *Dup) SetErrors(p base.ErrorProvider)
func (*Dup) Translate ¶
func (view *Dup) Translate(t base.Translator)
type DupRenderContext ¶
type DupRenderContext struct { mgc.ContextRenderer // contains filtered or unexported fields }
func (*DupRenderContext) AttachTo ¶
func (ctx *DupRenderContext) AttachTo(view mgc.ViewComponentContextSetter)
func (*DupRenderContext) RenderComponent ¶
func (ctx *DupRenderContext) RenderComponent(view mgc.ViewComponentRenderer, args ...interface{}) (string, error)
func (*DupRenderContext) SetDefaultTo ¶
func (ctx *DupRenderContext) SetDefaultTo(view mgc.ViewComponentContextSetter)
type Expand ¶
type Expand struct { mgc.ViewComponent base.Node *ComponentWithAComponentsSlice Bt mgc.ViewComponentRenderer Expanded bool }
func (*Expand) IsExpanded ¶
func (*Expand) SetBt ¶
func (view *Expand) SetBt(b mgc.ViewComponentRenderer)
func (*Expand) SetErrors ¶
func (view *Expand) SetErrors(p base.ErrorProvider)
func (*Expand) SetExpanded ¶
func (*Expand) Translate ¶
func (view *Expand) Translate(t base.Translator)
type Form ¶
type Form struct { mgc.ViewComponent base.Node *ComponentWithAComponentsSlice Error string }
func (*Form) GetEncType ¶
func (*Form) SetEncType ¶
func (*Form) SetErrors ¶
func (view *Form) SetErrors(p base.ErrorProvider)
func (*Form) Translate ¶
func (view *Form) Translate(t base.Translator)
type GeometryResult ¶
type Input ¶
type Input struct { mgc.ViewComponent base.NodeType base.NodeLabel base.NodePlaceholder base.NodeSingleValue base.NodeSingleError Attr base.AttrList Classes base.ClassList InputAttr base.AttrList InputClasses base.ClassList }
func NewInputHidden ¶
func NewInputHidden() *Input
func NewInputPassword ¶
func NewInputPassword() *Input
func NewInputText ¶
func NewInputText() *Input
func (*Input) SetErrors ¶
func (view *Input) SetErrors(p base.ErrorProvider)
type InputConfirm ¶
type InputConfirm struct { mgc.ViewComponent base.NodeType base.NodePlaceholder base.NodeSingleError Attr base.AttrList Classes base.ClassList InputLeft *PartialInputConfirm InputRight *PartialInputConfirm }
func NewInputConfirm ¶
func NewInputConfirm() *InputConfirm
func NewInputConfirmPassword ¶
func NewInputConfirmPassword() *InputConfirm
func NewInputConfirmText ¶
func NewInputConfirmText() *InputConfirm
func (*InputConfirm) GetName ¶
func (view *InputConfirm) GetName() string
func (*InputConfirm) Render ¶
func (view *InputConfirm) Render(args ...interface{}) (string, error)
func (*InputConfirm) SetErrors ¶
func (view *InputConfirm) SetErrors(p base.ErrorProvider)
func (*InputConfirm) SetName ¶
func (view *InputConfirm) SetName(b string)
func (*InputConfirm) Translate ¶
func (view *InputConfirm) Translate(t base.Translator)
type InputDate ¶
type InputDate struct { mgc.ViewComponent base.NodeLabel base.NodePlaceholder base.NodeSingleError Attr base.AttrList Classes base.ClassList InputAttr base.AttrList InputClasses base.ClassList HiddenAttr base.AttrList GoFormat string }
func NewInputDate ¶
func NewInputDate() *InputDate
func (*InputDate) GetCancelText ¶
func (*InputDate) GetDisplayFormat ¶
func (*InputDate) GetDisplayLocale ¶
func (*InputDate) GetDisplayMode ¶
func (*InputDate) GetGoFormat ¶
func (*InputDate) GetOrientation ¶
func (*InputDate) GetPresent ¶
func (*InputDate) MustGetDate ¶
func (*InputDate) SetCancelText ¶
func (*InputDate) SetDisplayFormat ¶
func (*InputDate) SetDisplayLocale ¶
func (*InputDate) SetDisplayMode ¶
func (*InputDate) SetErrors ¶
func (view *InputDate) SetErrors(p base.ErrorProvider)
func (*InputDate) SetGoFormat ¶
func (*InputDate) SetOrientation ¶
func (*InputDate) SetPresent ¶
type InputFile ¶
type InputFile struct { mgc.ViewComponent base.NodeLabel base.NodePlaceholder base.NodeSingleError Attr base.AttrList Classes base.ClassList InputAttr base.AttrList InputClasses base.ClassList InputFileAttr base.AttrList InputTextValue string AttachIcon string ClearIcon string }
func NewInputFile ¶
func NewInputFile() *InputFile
func (*InputFile) GetAttachIcon ¶
func (*InputFile) GetClearIcon ¶
func (*InputFile) IsMultiple ¶
func (*InputFile) SetAttachIcon ¶
func (*InputFile) SetClearIcon ¶
func (*InputFile) SetErrors ¶
func (view *InputFile) SetErrors(p base.ErrorProvider)
func (*InputFile) SetInputTextName ¶
func (*InputFile) SetInputTextValue ¶
func (*InputFile) SetMultiple ¶
type InputSlice ¶
type InputSlice struct { mgc.ViewComponent base.Node base.NodeType base.NodeLabel base.NodePlaceholder base.NodeMutlipleValues base.NodeSingleError ItemBlock string }
func NewInputHiddenSlice ¶
func NewInputHiddenSlice() *InputSlice
func NewInputPasswordSlice ¶
func NewInputPasswordSlice() *InputSlice
func NewInputSlice ¶
func NewInputSlice() *InputSlice
func NewInputTextSlice ¶
func NewInputTextSlice() *InputSlice
func (*InputSlice) GetItemBlock ¶
func (i *InputSlice) GetItemBlock() string
func (*InputSlice) Render ¶
func (view *InputSlice) Render(args ...interface{}) (string, error)
func (*InputSlice) RenderItem ¶
func (view *InputSlice) RenderItem(index int, value string, args ...interface{}) (string, error)
func (*InputSlice) SetErrors ¶
func (view *InputSlice) SetErrors(p base.ErrorProvider)
func (*InputSlice) SetItemBlock ¶
func (i *InputSlice) SetItemBlock(s string)
type Pagination ¶
type Pagination struct { mgc.ViewComponent base.Node BtPrev *Button BtNext *Button Select *Select GoToText string BaseUrl *url.URL PageParamName string CurrentPage uint64 PageCnt uint64 }
func NewPagination ¶
func NewPagination() *Pagination
func (*Pagination) GetPagesCnt ¶
func (view *Pagination) GetPagesCnt() uint64
func (*Pagination) GetUrl ¶
func (view *Pagination) GetUrl(p string) string
func (*Pagination) GuessCurrentPage ¶
func (view *Pagination) GuessCurrentPage()
func (*Pagination) HasNextPage ¶
func (view *Pagination) HasNextPage() bool
func (*Pagination) HasPreviousPage ¶
func (view *Pagination) HasPreviousPage() bool
func (*Pagination) Render ¶
func (view *Pagination) Render(args ...interface{}) (string, error)
func (*Pagination) SetBaseUrl ¶
func (view *Pagination) SetBaseUrl(u *url.URL)
func (*Pagination) SetPageParamName ¶
func (view *Pagination) SetPageParamName(s string)
func (*Pagination) SetPagesCnt ¶
func (view *Pagination) SetPagesCnt(limit uint64, total uint64)
func (*Pagination) SetTotalItemCount ¶
func (view *Pagination) SetTotalItemCount(limit uint64, total uint64)
func (*Pagination) Translate ¶
func (view *Pagination) Translate(t base.Translator)
type PartialInputConfirm ¶
type PartialInputConfirm struct { base.Node base.NodeLabel base.NodeSingleValue InputAttr base.AttrList InputClasses base.ClassList }
func (*PartialInputConfirm) GetId ¶
func (view *PartialInputConfirm) GetId() string
func (*PartialInputConfirm) GetName ¶
func (view *PartialInputConfirm) GetName() string
func (*PartialInputConfirm) SetId ¶
func (view *PartialInputConfirm) SetId(b string)
func (*PartialInputConfirm) SetName ¶
func (view *PartialInputConfirm) SetName(b string)
type Select ¶
type Select struct { mgc.ViewComponent base.Node base.NodeLabel base.NodePlaceholder base.NodeSingleError base.NodeWithOptions InputClasses base.ClassList InputAttr base.AttrList Multiple bool Icon string }
func (*Select) IsMultiple ¶
func (*Select) SetDisabled ¶
func (*Select) SetErrors ¶
func (view *Select) SetErrors(p base.ErrorProvider)
func (*Select) SetMultiple ¶
func (*Select) Translate ¶
func (view *Select) Translate(t base.Translator)
func (*Select) UpdateWindowUrl ¶
type Slice ¶
type Slice struct { mgc.ViewComponent *ComponentWithAComponentsSlice }
type Slider ¶
type Slider struct { mgc.ViewComponent base.NodeLabel base.NodePlaceholder base.NodeSingleValue base.NodeSingleError Attr base.AttrList Classes base.ClassList InputAttr base.AttrList InputClasses base.ClassList }
func (*Slider) SetErrors ¶
func (view *Slider) SetErrors(p base.ErrorProvider)
type Tab ¶
type Tab struct { base.Node *ComponentWithAComponentsSlice Title string TitleClasses base.ClassList TitleAttr base.AttrList }
func (*Tab) SetErrors ¶
func (view *Tab) SetErrors(p base.ErrorProvider)
func (*Tab) Translate ¶
func (view *Tab) Translate(t base.Translator)
type Tabs ¶
type Tabs struct { mgc.ViewComponent base.Node Tabs []*Tab MenuClasses base.ClassList MenuAttr base.AttrList }
func (*Tabs) SetErrors ¶
func (view *Tabs) SetErrors(p base.ErrorProvider)
func (*Tabs) Translate ¶
func (view *Tabs) Translate(t base.Translator)
type Tag ¶
type Tag struct { mgc.ViewComponent base.Node *ComponentWithAComponentsSlice TagName string }
func (*Tag) AddComponent ¶
func (view *Tag) AddComponent(s mgc.ViewComponentRenderer)
func (*Tag) GetTagName ¶
func (*Tag) OpenTagClose ¶
func (*Tag) SetTagName ¶
type Text ¶
type Text struct { mgc.ViewComponent Content interface{} TranslationArgs interface{} }
func (*Text) GetContent ¶
func (view *Text) GetContent() interface{}
func (*Text) SetContent ¶
func (*Text) SetHTMLContent ¶
func (*Text) SetTranslationArgs ¶
func (view *Text) SetTranslationArgs(some interface{})
func (*Text) Translate ¶
func (view *Text) Translate(t base.Translator)
type Textarea ¶
type Textarea struct { mgc.ViewComponent base.Node base.NodeLabel base.NodePlaceholder base.NodeSingleValue base.NodeSingleError Rows int }
func NewTextarea ¶
func NewTextarea() *Textarea
func NewWysiwyg ¶
func NewWysiwyg() *Textarea
func (*Textarea) SetErrors ¶
func (view *Textarea) SetErrors(p base.ErrorProvider)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.