MCPcopy Create free account
hub / github.com/FSGModding/FSG_Mod_Assistant / constructor

Method constructor

renderer/renderJS/main_ui_lib.js:2045–2067  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2043 selectedMods = {}
2044
2045 constructor() {
2046 this.overlayDiv = MA.byId('fileOpCanvas')
2047 this.overlay.show = () => {
2048 this.overlayDiv.clsShow()
2049 this.overlayDiv.querySelector('.fileOpCanvas-body').scrollTop = 0
2050 }
2051 this.overlay.hide = () => {
2052 this.overlayDiv.clsHide()
2053 this.stop()
2054 }
2055
2056 this.infoData = MA.byId('file_op_display')
2057 this.feedback = MA.byId('file_op_result')
2058
2059 MA.byId('fileOpCanvas-button').addEventListener('click', () => { this.process() })
2060 MA.byId('fileOpCanvas-button-close').addEventListener('click', () => {
2061 this.overlay.hide() // File Canvas
2062 })
2063
2064 window.main_IPC.receive('files:operation', (mode, mods) => {
2065 this.start_external(mode, mods)
2066 })
2067 }
2068
2069 // MARK: start (ext module)
2070 start_external(mode, mods) {

Callers

nothing calls this directly

Calls 5

stopMethod · 0.95
processMethod · 0.95
start_externalMethod · 0.95
addEventListenerMethod · 0.45
hideMethod · 0.45

Tested by

no test coverage detected