Chartbreaker
    Preparing search index...

    Interface StyleSheet

    An object implementing the StyleSheet interface represents a single style sheet.

    MDN Reference

    interface StyleSheet {
        disabled: boolean;
        href: null | string;
        ownerNode: null | Element | ProcessingInstruction;
        parentStyleSheet: null | CSSStyleSheet;
        title: null | string;
        type: string;
        get media(): MediaList;
        set media(mediaText: string): void;
    }

    Hierarchy (View Summary)

    Index

    Properties

    disabled: boolean

    The disabled property of the applying to the document.

    MDN Reference

    href: null | string

    The href property of the StyleSheet interface returns the location of the style sheet.

    MDN Reference

    ownerNode: null | Element | ProcessingInstruction

    The ownerNode property of the with the document.

    MDN Reference

    parentStyleSheet: null | CSSStyleSheet

    The parentStyleSheet property of the the given style sheet.

    MDN Reference

    title: null | string

    The title property of the StyleSheet interface returns the advisory title of the current style sheet.

    MDN Reference

    type: string

    The type property of the StyleSheet interface specifies the style sheet language for the given style sheet.

    MDN Reference

    Accessors

    • get media(): MediaList

      The media property of the StyleSheet interface specifies the intended destination media for style information.

      MDN Reference

      Returns MediaList

    • set media(mediaText: string): void

      Parameters

      • mediaText: string

      Returns void