MCPcopy Create free account
hub / github.com/ARM-software/AVH / init

Method init

DoxyGen/Doxygen_Templates/darkmode_toggle.js:106–119  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

104 }
105
106 static init() {
107 $(function() {
108 $(document).ready(function() {
109
110 $(document).ready(function(){
111 DarkModeToggle.addButton();
112 })
113 $(window).resize(function(){
114 DarkModeToggle.addButton();
115 })
116 DarkModeToggle.setDarkModeVisibility(DarkModeToggle.darkModeEnabled)
117 })
118 })
119 }
120
121 constructor() {
122 super();

Callers 15

initFunction · 0.45
initFunction · 0.45
initFunction · 0.45
initFunction · 0.45
initFunction · 0.45
initFunction · 0.45
initFunction · 0.45
initFunction · 0.45
initFunction · 0.45
initFunction · 0.45
initFunction · 0.45
initFunction · 0.45

Calls 2

addButtonMethod · 0.80
setDarkModeVisibilityMethod · 0.80

Tested by

no test coverage detected