Options
All
  • Public
  • Public/Protected
  • All
Menu

A single CSS style sheet. It inherits properties and methods from its parent, StyleSheet.

Hierarchy

Index

Properties

disabled: boolean
href: null | string
ownerRule: null | internal.CSSRule
parentStyleSheet: null | internal.CSSStyleSheet
deprecated
title: null | string
type: string

Methods

  • addRule(selector?: string, style?: string, index?: number): number
  • deprecated

    Parameters

    • Optional selector: string
    • Optional style: string
    • Optional index: number

    Returns number

  • deleteRule(index: number): void
  • Parameters

    • index: number

    Returns void

  • insertRule(rule: string, index?: number): number
  • Parameters

    • rule: string
    • Optional index: number

    Returns number

  • removeRule(index?: number): void
  • deprecated

    Parameters

    • Optional index: number

    Returns void

  • Parameters

    • text: string

    Returns Promise<internal.CSSStyleSheet>

  • replaceSync(text: string): void
  • Parameters

    • text: string

    Returns void

Generated using TypeDoc