Trilium Frontend API
    Preparing search index...

    Interface StyleSheetList

    The StyleSheetList interface represents a list of CSSStyleSheet objects. An instance of this object can be returned by Document.styleSheets.

    MDN Reference

    interface StyleSheetList {
        length: number;
        "[iterator]"(): ArrayIterator<CSSStyleSheet>;
        item(index: number): CSSStyleSheet;
        [index: number]: CSSStyleSheet;
    }

    Indexable

    Index

    Properties

    Methods

    Properties

    length: number

    The length read-only property of the StyleSheetList interface returns the number of CSSStyleSheet objects in the collection.

    MDN Reference

    Methods

    • The item() method of the StyleSheetList interface returns a single CSSStyleSheet object.

      MDN Reference

      Parameters

      • index: number

      Returns CSSStyleSheet