MCPcopy
hub / github.com/philc/vimium / getOptionEl

Function getOptionEl

pages/options.js:102–104  ·  view source on GitHub ↗
(optionName)

Source from the content-addressed store, hash-verified

100}
101
102export function getOptionEl(optionName) {
103 return document.querySelector(`*[name="${optionName}"]`);
104}
105
106// Invoked when the user clicks the "reset" button next to an option's text field.
107function resetInputValue(event) {

Callers 6

initFunction · 0.85
setFormFromSettingsFunction · 0.85
getSettingsFromFormFunction · 0.85
getValidationErrorsFunction · 0.85
showValidationErrorsFunction · 0.85
maintainLinkHintsViewFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected