MCPcopy Create free account
hub / github.com/Eltaurus-Lt/CourseDump2022 / constructor

Method constructor

menu.js:45–61  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

43
44class menuToggles {
45 constructor() {
46 this.DownloadMedia = document.getElementById("setting-downloadMedia");
47 this.ExtraFields = document.getElementById("setting-extraFields");
48 this.LevelTags = document.getElementById("setting-levelTags");
49 this.AnkiPrompt = document.getElementById("setting-ankiPrompt");
50
51 this.LearningProgress = document.getElementById("setting-learningProgress");
52 this.AlternativeAnswers = document.getElementById("setting-alternativeAnswers");
53 this.LearnableMeta = document.getElementById("setting-learnableMeta");
54 this.LearnableIds = document.getElementById("setting-learnableIds");
55 this.SkipMedia = document.getElementById("setting-skipMedia");
56 this.CourseMeta = document.getElementById("setting-courseMeta");
57
58 this.Video = document.getElementById("setting-videoFiles");
59
60 this.all = document.querySelectorAll('input[type="checkbox"].toggle');
61 }
62
63 async toSettings() {
64 let current_settings = {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected