Stylesheet.disabled

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since September 2015.

Resumen

Esta propiedad indica si es se aplica o no, la hoja de estilo actual.

Sintaxis

bool = stylesheet.disabled

Ejemplo

// si la hoja de estilo está deshabilitada...
if (stylesheet.disabled) {
   // apply style in-line
}

Especificación