Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CSSStyleSheet

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

Hierarchy

Index

Properties

cssRules: CSSRuleList
disabled: boolean
href: null | string
media: MediaList
ownerNode: null | Element | ProcessingInstruction
ownerRule: null | CSSRule
parentStyleSheet: null | CSSStyleSheet
rules: CSSRuleList
title: null | string
type: string

Methods

  • addRule(selector?: string, style?: string, index?: number): number
  • 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
  • Parameters

    • Optional index: number

    Returns void

Generated using TypeDoc