MCPcopy
hub / github.com/InkTimeRecord/TTime / expand

Method expand

src/renderer/src/utils/messageExtend.ts:17–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15 static ERROR = '2'
16
17 static expand(): void {
18 const elMessageList = document.querySelectorAll('.el-message')
19 if (elMessageList) {
20 for (let i = 0; i < elMessageList.length; i++) {
21 // @ts-ignore
22 elMessageList[i].style.cssText = 'border-radius: 8px;'
23 }
24 }
25 }
26
27 static success(message): void {
28 setTimeout(() => {

Callers 4

successMethod · 0.80
warningMethod · 0.80
errorMethod · 0.80
errorInOptionsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected