components

package
v0.0.0-...-a84d8d7 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2017 License: BSD-3-Clause Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssetTableBuilder

func AssetTableBuilder(al interface{}) *gr.Element

func ClassListBuilder

func ClassListBuilder(cl interface{}, onClick func(string)) *gr.Element

func EditClassFormBuilder

func EditClassFormBuilder(classBytes []byte) (*gr.ReactComponent, *gabs.Container)

func EditWidgetFormBuilder

func EditWidgetFormBuilder(widgetsBytes []byte) (*gr.ReactComponent, *gabs.Container)

func NewClassFormBuilder

func NewClassFormBuilder(classType string) *gr.ReactComponent

func NewWidgetFormBuilder

func NewWidgetFormBuilder(widgetType string) *gr.ReactComponent

func WidgetListBuilder

func WidgetListBuilder(wl interface{}, onClick func(string)) *gr.Element

func WidgetsBuilder

func WidgetsBuilder(wl interface{}) *gr.Element

Types

type AssetTable

type AssetTable struct {
	*gr.This
}

func (AssetTable) ComponentWillMount

func (a AssetTable) ComponentWillMount()

Implements the ComponentWillMount interface

func (AssetTable) GetInitialState

func (a AssetTable) GetInitialState() gr.State

Implements the StateInitializer interface

func (AssetTable) Render

func (a AssetTable) Render() gr.Component

func (AssetTable) ShouldComponentUpdate

func (a AssetTable) ShouldComponentUpdate(this *gr.This, next gr.Cops) bool

Implements the ShouldComponentUpdate interface.

type Button

type Button struct {
	Name        string
	Description string
}

type ButtonList

type ButtonList struct {
	*gr.This
	Buttons []Button
}

func (ButtonList) Render

func (b ButtonList) Render() gr.Component

type ClassDropdownMenu

type ClassDropdownMenu struct {
	*gr.This
}

func (ClassDropdownMenu) Render

func (d ClassDropdownMenu) Render() gr.Component

type Content

type Content struct {
	*gr.This
	Page Page
}

func (Content) Render

func (c Content) Render() gr.Component

type Dashboard

type Dashboard struct {
	*gr.This
}

func (Dashboard) ComponentWillMount

func (d Dashboard) ComponentWillMount()

Implements the ComponentWillMount interface

func (Dashboard) GetInitialState

func (d Dashboard) GetInitialState() gr.State

Implements the StateInitializer interface

func (Dashboard) Render

func (d Dashboard) Render() gr.Component

func (Dashboard) ShouldComponentUpdate

func (d Dashboard) ShouldComponentUpdate(this *gr.This, next gr.Cops) bool

Implements the ShouldComponentUpdate interface.

type EditClass

type EditClass struct {
	*gr.This
}

func (EditClass) ComponentWillMount

func (e EditClass) ComponentWillMount()

func (EditClass) GetInitialState

func (e EditClass) GetInitialState() gr.State

Implements the StateInitializer interface

func (EditClass) Render

func (e EditClass) Render() gr.Component

type EditWidgets

type EditWidgets struct {
	*gr.This
}

func (EditWidgets) ComponentWillMount

func (e EditWidgets) ComponentWillMount()

func (EditWidgets) GetInitialState

func (e EditWidgets) GetInitialState() gr.State

Implements the StateInitializer interface

func (EditWidgets) Render

func (e EditWidgets) Render() gr.Component

type Layout

type Layout struct {
	*gr.This
	Pages
	Brand      string
	ActivePage string
}

func (Layout) Render

func (l Layout) Render() gr.Component

Implements the Renderer interface.

type Modal struct {
	*gr.This
}

func (Modal) Render

func (m Modal) Render() gr.Component
type Nav struct {
	*gr.This
	Pages
	Brand string
}
func (c Nav) Render() gr.Component

Implements the Renderer interface.

type NewAsset

type NewAsset struct {
	*gr.This
}

func (NewAsset) GetInitialState

func (n NewAsset) GetInitialState() gr.State

Implements the StateInitializer interface

func (NewAsset) Render

func (n NewAsset) Render() gr.Component

type NewClass

type NewClass struct {
	*gr.This
}

func (NewClass) GetInitialState

func (n NewClass) GetInitialState() gr.State

Implements the StateInitializer interface

func (NewClass) Render

func (n NewClass) Render() gr.Component

type NewWidget

type NewWidget struct {
	*gr.This
}

func (NewWidget) GetInitialState

func (n NewWidget) GetInitialState() gr.State

Implements the StateInitializer interface

func (NewWidget) Render

func (n NewWidget) Render() gr.Component

type Page

type Page struct {
	Route      string
	ApiType    string
	Type       string
	HasClasses bool
	HasWidgets bool
}

type Pages

type Pages map[string]Page

type WidgetDropdownMenu

type WidgetDropdownMenu struct {
	*gr.This
}

func (WidgetDropdownMenu) Render

func (d WidgetDropdownMenu) Render() gr.Component

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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