TTMSFNCStyles.FindCSSStyleRule Method
Finds a CSS style rule object in the browser document by its selector name.
API unit family: TMSFNCStyles
Declaring type: TTMSFNCStyles
Syntax
class function FindCSSStyleRule(ARuleName: string): TJSObject; virtual;
Parameters
| Name | Description |
|---|---|
ARuleName |
The CSS selector string to search for, for example .TMSFNCGridStyle. |
Returns
The matching TJSObject CSS rule, or nil if no rule with that name exists.