MCPcopy Index your code
hub / github.com/LmeSzinc/AzurLaneAutoScript / append

Method append

module/webui/widgets.py:48–58  ·  view source on GitHub ↗
(self, text: str)

Source from the content-addressed store, hash-verified

46 return put_html(self.html)
47
48 def append(self, text: str) -> None:
49 if text:
50 run_js(
51 """$("#{dom_id}>code").append(text);
52 """.format(
53 dom_id=self.id
54 ),
55 text=str(text),
56 )
57 if self.keep_bottom:
58 self.scroll()
59
60 def scroll(self) -> None:
61 run_js(

Callers 15

adb_backupMethod · 0.80
serialMethod · 0.80
emulatorsMethod · 0.80
devicesMethod · 0.80
serialMethod · 0.80
write_fileFunction · 0.80
write_fileFunction · 0.80
list_regFunction · 0.80
list_keyFunction · 0.80

Calls 1

scrollMethod · 0.95

Tested by 1

stress_testMethod · 0.64