Class RuleSet

A model defining the structure of an object containing the CSS rules defined in a CSS file.

Constructor

class RuleSet(data)
Arguments:
  • data (Object) – the CSS data received from the server
  • data.ruleCount (Integer) – the number of rules inside the file
  • data.length (Integer) – the length of the content inside the file
  • data.content (String) – the content of the CSS file

Attributes

content

content

the CSS content inside the set

length

length

the length of the content inside the set

ruleCount

ruleCount

the number of rules in the set

Table Of Contents

Previous topic

Class Layout

Next topic

Class SocketHandler