MCPcopy Create free account
hub / github.com/CatMuse/HiNote / constructor

Method constructor

src/settings/components/RegexRuleEditor.ts:16–24  ·  view source on GitHub ↗
(containerEl: HTMLElement, plugin: CommentPlugin)

Source from the content-addressed store, hash-verified

14 private rulesContainer: HTMLElement;
15
16 constructor(containerEl: HTMLElement, plugin: CommentPlugin) {
17 this.containerEl = containerEl;
18 this.plugin = plugin;
19 this.rules = plugin.settings.regexRules || [];
20 this.rulesContainer = containerEl.createDiv({ cls: 'regex-rules-container' });
21
22 // 样式已移动到全局 styles.css 文件中
23 this.display();
24 }
25
26 // 样式已移动到全局 styles.css 文件中
27

Callers

nothing calls this directly

Calls 1

displayMethod · 0.95

Tested by

no test coverage detected