Interface StyleSheet
interface StyleSheet {
disabled: boolean;
href: string | null;
ownerNode: Element | ProcessingInstruction | null;
parentStyleSheet: CSSStyleSheet | null;
title: string | null;
type: string;
get media(): MediaList;
set media(mediaText: string): void;
}
disabled: boolean;
href: string | null;
ownerNode: Element | ProcessingInstruction | null;
parentStyleSheet: CSSStyleSheet | null;
title: string | null;
type: string;
get media(): MediaList;
set media(mediaText: string): void;
}
Hierarchy
- StyleSheet (View Summary)
Properties
disabled
disabled: boolean
The disabled property of the applying to the document.
Readonlyhref
href: string | null
The href property of the StyleSheet interface returns the location of the style sheet.
ReadonlyownerNode
The ownerNode property of the with the document.
ReadonlyparentStyleSheet
The parentStyleSheet property of the the given style sheet.
Readonlytitle
title: string | null
The title property of the StyleSheet interface returns the advisory title of the current style sheet.
Readonlytype
type: string
The type property of the StyleSheet interface specifies the style sheet language for the given style sheet.
An object implementing the
StyleSheetinterface represents a single style sheet.MDN Reference