Protected
Readonly
commandProtected
Readonly
contextProtected
Readonly
fuzzyThe fuzzy search options.
The pre
and post
options are used to wrap fuzzy matches.
Protected
itemsThe list of all available keybindings.
Protected
Readonly
keybindingProtected
Readonly
keybindingThe regular expression used to extract values between the keybinding separator.
Protected
Readonly
keymapsReadonly
nodeGet the DOM node owned by the widget.
Protected
nodeReadonly
onProtected
Readonly
onReadonly
onProtected
Readonly
onReadonly
onProtected
Readonly
onProtected
Readonly
onReadonly
onProtected
Readonly
onReadonly
onProtected
Readonly
onProtected
queryThe current user search query.
Protected
Readonly
regexpThe regular expression used to extract values between fuzzy results.
Protected
Optional
scrollProtected
Optional
scrollProtected
Readonly
searchSearch keybindings.
Protected
Readonly
toProtected
Readonly
toProtected
updateStatic
Readonly
ADD_Static
Readonly
CONTEXT_Static
Readonly
COPY_Static
Readonly
EDIT_Static
Readonly
IDStatic
Readonly
LABELStatic
Readonly
REMOVE_Static
Readonly
SHOW_The dataset for the widget's DOM node.
A signal emitted when the widget is disposed.
Get the method for hiding the widget.
Get the id of the widget's DOM node.
Set the id of the widget's DOM node.
Test whether the widget's node is attached to the DOM.
Test whether the widget has been disposed.
Test whether the widget is explicitly hidden.
Get the parent of the widget.
Set the parent of the widget.
Children are typically added to a widget by using a layout, which means user code will not normally set the parent widget directly.
The widget will be automatically removed from its old parent.
This is a no-op if there is no effective parent change.
The title object for the widget.
The title object is used by some container widgets when displaying the widget alongside some title, such as a tab panel or side bar.
Since not all widgets will use the title, it is created on demand.
The owner
property of the title is set to this widget.
Protected
addProtected
addOptional
useCapture: booleanPrompt users to add a keybinding for the given command.
the keybinding item
Protected
addProtected
addProtected
buildBuild the cell data with highlights if applicable.
the raw cell value.
the list of cell data.
Whether the keybinding can be reset to its default value.
the keybinding item
Create an iterator over the widget's children.
A new iterator over the children of the widget.
The widget must have a populated layout in order to have children.
If a layout is not installed, the returned iterator will be empty.
Clear the search and reset the view.
Protected
compareCompare two commands.
an integer indicating whether a
comes before, after or is equivalent to b
.
-1
if a
occurs before b
.1
if a
occurs after b
.0
if they are equivalent.Protected
confirmPrompt users for confirmation before resetting.
a Promise which resolves to true
if a user accepts resetting.
Test whether a widget is a descendant of this widget.
The descendant widget of interest.
true
if the widget is a descendant, false
otherwise.
Protected
createOptional
keybinding: ScopedKeybindingProtected
disableProtected
doPerform a search based on the user's search query.
Prompt users to update the keybinding for the given command.
the keybinding item.
Prompt users to update when expression for the given keybinding.
the keybinding item
Protected
findGet the search input if available.
the search input if available.
Protected
focusSet the focus the search input field if available.
Protected
formatProtected
formatProtected
formatOptional
exactMatch: booleanProtected
formatProtected
getGet the human-readable label for a given command.
the command.
a human-readable label for the given command.
Protected
getProtected
getProtected
getProtected
getProtected
getProtected
handleProtected
handleProtected
handleProtected
handleTest whether the widget's DOM node has the given class name.
The class name of interest.
true
if the node has the class, false
otherwise.
Determine if there currently is a search term.
true
if a search term is present.
Hide the widget and make it hidden to its parent widget.
This causes the isHidden property to be true
.
If the widget is explicitly hidden, this is a no-op.
Protected
initInitialize the widget.
Protected
notifyProtected
onA message handler invoked on an 'activate-request'
message.
The default implementation of this handler is a no-op.
Protected
onA message handler invoked on an 'after-attach'
message.
The default implementation of this handler is a no-op.
Protected
onA message handler invoked on an 'after-detach'
message.
The default implementation of this handler is a no-op.
Protected
onA message handler invoked on an 'after-hide'
message.
The default implementation of this handler is a no-op.
Protected
onA message handler invoked on an 'after-show'
message.
The default implementation of this handler is a no-op.
Protected
onA message handler invoked on a 'before-attach'
message.
The default implementation of this handler is a no-op.
Protected
onA message handler invoked on a 'before-detach'
message.
The default implementation of this handler is a no-op.
Protected
onA message handler invoked on a 'before-hide'
message.
The default implementation of this handler is a no-op.
Protected
onA message handler invoked on a 'before-show'
message.
The default implementation of this handler is a no-op.
Protected
onA message handler invoked on a 'child-added'
message.
The default implementation of this handler is a no-op.
Protected
onA message handler invoked on a 'child-removed'
message.
The default implementation of this handler is a no-op.
Protected
onA message handler invoked on a 'close-request'
message.
The default implementation unparents or detaches the widget.
Protected
onA message handler invoked on a 'fit-request'
message.
The default implementation of this handler is a no-op.
Protected
onProtected
onA message handler invoked on a 'resize'
message.
The default implementation of this handler is a no-op.
Protected
onA message handler invoked on an 'update-request'
message.
The default implementation of this handler is a no-op.
Protected
renderRender the view.
Protected
renderRender the actions container with action icons.
the keybinding item for the row.
Protected
renderRender the edit action used to update a keybinding.
the keybinding item for the row.
Protected
renderProtected
renderRender the fuzzy representation of a matched result.
one of the KeybindingItem
properties.
Protected
renderRender the warning message when no search results are found.
Protected
renderRender the reset action to reset the custom keybinding.
Only visible if a keybinding has a user
scope.
the keybinding item for the row.
Protected
renderProtected
renderRender the table rows.
Protected
renderRender the search container with the search input.
Protected
renderRender the keybindings table.
Reset the keybinding to its default value.
the keybinding item.
Called when the widget got created by the storage service
Protected
selectShow the widget and make it visible to its parent widget.
This causes the isHidden property to be false
.
If the widget is not explicitly hidden, this is a no-op.
Show keybinding items with the same key sequence as the given item.
the keybinding item
Protected
sortthe input array, sorted. The sort priority is as follows: items with keybindings before those without, then alphabetical by command.
Called on unload to store the inner state. Returns 'undefined' if the widget cannot be stored.
Test whether the given widget flag is set.
This will not typically be called directly by user code.
Toggle a class name on the widget's DOM node.
The class name to toggle on the node.
Optional
force: booleanWhether to force add the class (true
) or force
remove the class (false
). If not provided, the presence of
the class will be toggled from its current state.
true
if the class is now present, false
otherwise.
The class name must not contain whitespace.
Protected
toProtected
validateValidate the provided keybinding value against its previous value.
the command label.
the old keybinding value.
the new keybinding value.
the end user message to display.
A contract for widgets that want to store and restore their inner state, between sessions.