Options
All
  • Public
  • Public/Protected
  • All
Menu

Class StyleScope

Hierarchy

  • StyleScope

Index

Properties

css

css: string

Methods

_increaseApplicationCssSelectorVersion

  • _increaseApplicationCssSelectorVersion(): void
  • Returns void

addCss

  • addCss(cssString: string, cssFileName?: string): void
  • Parameters

    • cssString: string
    • Optional cssFileName: string

    Returns void

addCssFile

  • addCssFile(cssFileName: string): void
  • Parameters

    • cssFileName: string

    Returns void

applySelectors

  • Parameters

    Returns void

changeCssFile

  • changeCssFile(cssFileName: string): void
  • Parameters

    • cssFileName: string

    Returns void

ensureSelectors

  • ensureSelectors(): number
  • Returns number

getAnimations

  • getAnimations(ruleset: RuleSet): KeyframeAnimationInfo[]
  • Parameters

    Returns KeyframeAnimationInfo[]

getKeyframeAnimationWithName

  • getKeyframeAnimationWithName(animationName: string): KeyframeAnimationInfo
  • Parameters

    • animationName: string

    Returns KeyframeAnimationInfo

isApplicationCssSelectorsLatestVersionApplied

  • isApplicationCssSelectorsLatestVersionApplied(): boolean
  • Returns boolean

isLocalCssSelectorsLatestVersionApplied

  • isLocalCssSelectorsLatestVersionApplied(): boolean
  • Returns boolean

query

  • query(options: Node): SelectorCore[]
  • Parameters

    Returns SelectorCore[]

Static createSelectorsFromCss

  • createSelectorsFromCss(css: string, cssFileName: string, keyframes: Object): RuleSet[]
  • Parameters

    • css: string
    • cssFileName: string
    • keyframes: Object

    Returns RuleSet[]

Static createSelectorsFromImports

  • createSelectorsFromImports(tree: SyntaxTree, keyframes: Object): RuleSet[]
  • Parameters

    Returns RuleSet[]

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method