Home Reference Source
import StyleInfo from 'potassium-es/src/style/StyleInfo.js'
public class | source

StyleInfo

StyleInfo holds the context for a declaration:

  • the matched selector
  • the stylesheet
  • the rule

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public get
public get
public

rule: *

public
public
public get

value: *

Method Summary

Public Methods
public

reset(property: *, value: *, important: boolean)

Public Constructors

public constructor() source

Public Members

public get important: * source

public get property: * source

public rule: * source

public selector: * source

public stylesheet: * source

public get value: * source

Public Methods

public reset(property: *, value: *, important: boolean) source

Params:

NameTypeAttributeDescription
property *
value *
important boolean
  • optional
  • default: false