camlistore.org: camlistore.org/server/camlistored/ui/goui/aboutdialog Index | Files

package aboutdialog

import "camlistore.org/server/camlistored/ui/goui/aboutdialog"

Package aboutdialog provides a menu item element that is used in the header menu of the web UI, to display an "About" dialog.

Index

Package Files

aboutdialog.go gen_AboutMenuItem_reactGen.go

func New Uses

func New(entryText, dialog, class string,
    config map[string]string) react.Element

New returns the menu item element. It should be used as the entry point, to create the needed react element.

config is the web UI config that was fetched from the server.

entryText is the text for this menu item, displayed in the menu.

dialog is the text that appears in the dialog that is created when this menu item is clicked on.

class is the CSS class for this item.

type AboutMenuItemDef Uses

type AboutMenuItemDef struct {
    react.ComponentDef
}

func (AboutMenuItemDef) OnClick Uses

func (a AboutMenuItemDef) OnClick(e *react.SyntheticMouseEvent)

func (AboutMenuItemDef) Props Uses

func (a AboutMenuItemDef) Props() AboutMenuItemProps

Props is an auto-generated proxy to the current props of AboutMenuItem

func (AboutMenuItemDef) Render Uses

func (a AboutMenuItemDef) Render() react.Element

func (AboutMenuItemDef) ShouldComponentUpdateIntf Uses

func (a AboutMenuItemDef) ShouldComponentUpdateIntf(nextProps react.Props, prevState, nextState react.State) bool

type AboutMenuItemElem Uses

type AboutMenuItemElem struct {
    react.Element
}

type AboutMenuItemProps Uses

type AboutMenuItemProps struct {
    // contains filtered or unexported fields
}

func (AboutMenuItemProps) EqualsIntf Uses

func (a AboutMenuItemProps) EqualsIntf(val react.Props) bool

func (AboutMenuItemProps) IsProps Uses

func (a AboutMenuItemProps) IsProps()

IsProps is an auto-generated definition so that AboutMenuItemProps implements the myitcv.io/react.Props interface.

Package aboutdialog imports 7 packages (graph) and is imported by 1 packages. Updated 2018-01-21. Refresh now. Tools for package owners.