uilib

package
v0.0.0-...-e49eac2 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2015 License: MIT Imports: 5 Imported by: 0

Documentation

Rendered for js/wasm

Index

Constants

View Source
const (
	AUTH_OP_LOGIN         = "login"
	AUTH_OP_LOGOUT        = "logout"
	AUTH_OP_PWD_RESET     = "pwdreset"
	AUTH_OP_PWD_RESET_REQ = "pwdresetreq"
)

Variables

This section is empty.

Functions

func CurrentURLPath

func CurrentURLPath() string

func GetSelf

func GetSelf(successFn func(rec *wire.UserRecord), failFn func(int, string))

func Hide

func Hide(id s5.HtmlId)

func SetNewPage

func SetNewPage(url string)

func SlideDown

func SlideDown(id s5.HtmlId)

UTILITY JQUERY ANIMATIONS

func SlideUp

func SlideUp(id s5.HtmlId)

Types

type FeedbackType

type FeedbackType int
const (
	Success FeedbackType = iota
	Warning
	Danger
)

type PageWithFeedback

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

func NewPageWithFeedback

func NewPageWithFeedback() *PageWithFeedback

func (*PageWithFeedback) DisplayFeedback

func (self *PageWithFeedback) DisplayFeedback(msg string, ft FeedbackType)

func (*PageWithFeedback) HideFeedback

func (self *PageWithFeedback) HideFeedback()

type PasswordAuthParameters

type PasswordAuthParameters struct {
	Username         string
	Password         string
	ResetRequestUdid string
	UserUdid         string
	Op               string
}

XXX UGH has to be copied from s5 *SERVER* library to our client side

Jump to

Keyboard shortcuts

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