optionsui

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package optionsui defines the behavior underlying the user interface for the extension's options.

Index

Constants

View Source
const (
	// LoadButton indicates that the button loads the key into the agent.
	LoadButton buttonKind = iota
	// RemoveButton indicates that the button removes the key.
	RemoveButton
)

Variables

This section is empty.

Functions

This section is empty.

Types

type UI

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

UI implements the behavior underlying the user interface for the extension's options.

func New

func New(mgr keys.Manager, domObj *dom.DOM) *UI

New returns a new UI instance that manages keys using the supplied manager. domObj is the DOM instance corresponding to the document in which the Options UI is displayed.

Jump to

Keyboard shortcuts

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