Class FoundryStyles
Index
Constructors
Methods
Constructors
constructor
- new
Foundry (): FoundryStylesStyles Returns FoundryStyles
Methods
Static
getProperties
- get
Properties (selector): {
[key: string]: string;
} Gets the properties object associated with the selector. Try and use a direct match otherwise all keys are iterated to find a selector string that includes the
selector
.Parameters
- selector: string
Selector to find.
Returns {
[key: string]: string;
}Properties object.
[key: string]: string
- selector: string
Static
getProperty
- get
Property (selector, property): string Gets a specific property value from the given
selector
andproperty
key. Try and use a direct selector match otherwise all keys are iterated to find a selector string that includesselector
.Parameters
- selector: string
Selector to find.
- property: string
Specific property to locate.
Returns string
Property value.
- selector: string
Parses the core Foundry style sheet creating an indexed object of properties by selector.