MCPcopy Index your code
hub / github.com/easydiffusion/easydiffusion / getOptionValue

Method getOptionValue

ui/media/js/image-editor.js:804–807  ·  view source on GitHub ↗
(section_name)

Source from the content-addressed store, hash-verified

802 }
803 }
804 getOptionValue(section_name) {
805 var section = IMAGE_EDITOR_SECTIONS.find((s) => s.name == section_name)
806 return this.options && section_name in this.options ? this.options[section_name] : section.default
807 }
808 selectOption(section_name, option_index) {
809 var section = IMAGE_EDITOR_SECTIONS.find((s) => s.name == section_name)
810 var value = section.options[option_index]

Callers 3

toolMethod · 0.95
keyHandlerMethod · 0.95
editBeginMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected