Class Rule

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(name: string, value?: Value, important?: string, index?: any, inline?: boolean): Rule

Parameters

  • name: string
  • value?: Value optional
  • important?: string optional
  • index?: any optional
  • inline?: boolean optional

Returns

Rule

Properties

public important: string

public index: any

public inline: boolean

public name: string

public value: Value

Methods

public eval(context: any): Rule

Parameters

  • context: any

Returns

Rule

public makeImportant(): Rule

Returns

Rule

public toCSS(env?: Options): string

Parameters

Returns

string