aboutdialog

package
v0.0.0-...-a5a65f0 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2017 License: Apache-2.0 Imports: 7 Imported by: 4

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

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.

Types

type AboutMenuItemDef

type AboutMenuItemDef struct {
	react.ComponentDef
}

func (AboutMenuItemDef) OnClick

func (AboutMenuItemDef) Props

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

func (AboutMenuItemDef) Render

func (a AboutMenuItemDef) Render() react.Element

func (AboutMenuItemDef) ShouldComponentUpdateIntf

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

type AboutMenuItemElem

type AboutMenuItemElem struct {
	react.Element
}

type AboutMenuItemProps

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

func (AboutMenuItemProps) EqualsIntf

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

func (AboutMenuItemProps) IsProps

func (a AboutMenuItemProps) IsProps()

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

Jump to

Keyboard shortcuts

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