MCPcopy Index your code
hub / github.com/MALSync/MALSync / MaterialSwitch

Function MaterialSwitch

package/materialDesignLite.js:2422–2426  ·  view source on GitHub ↗
(element)

Source from the content-addressed store, hash-verified

2420 * @param {HTMLElement} element The element that will be upgraded.
2421 */
2422 var MaterialSwitch = function MaterialSwitch(element) {
2423 this.element_ = element;
2424 // Initialize instance.
2425 this.init();
2426 };
2427 window['MaterialSwitch'] = MaterialSwitch;
2428 /**
2429 * Store constants in one place so they can be updated easily.

Callers

nothing calls this directly

Calls 1

initMethod · 0.45

Tested by

no test coverage detected