Documentation ¶
Rendered for js/wasm
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 // UnloadButton indicates that the button unloads the key from the // agent. UnloadButton // 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 ¶
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.
func (*UI) EndToEndTest ¶ added in v0.0.12
func (u *UI) EndToEndTest(ctx jsutil.AsyncContext) []error
EndToEndTest runs a set of tests via the UI. Failures are returned as a list of errors.
No attempt is made to clean up from any intermediate state should the test fail.
Click to show internal directories.
Click to hide internal directories.