StyleBase¶
Not yet Class NotCreatable
The base class for StyleSheet and StyleRule.
Not implemented yet
This class exists in the current Roblox API but is not implemented in Nova yet. Scripts that reference it will fail at runtime.
0 Nova members ยท 10 modern Roblox members not implemented yet
Description¶
The base class for StyleSheet and StyleRule. Holds a list of child StyleRules, as well as token definitions which are stored as attributes.
Inheritance¶
Object โ Instance โ StyleBase
Known subclasses: StyleRule, StyleSheet
Methods¶
| Member | Signature | Summary |
|---|---|---|
GetStyleRules |
StyleBase:GetStyleRules(): Instances |
Returns an array of associated StyleRules. |
InsertStyleRule |
StyleBase:InsertStyleRule(rule: StyleRule, priority: int?): null |
Inserts a new StyleRule into the array of rules. |
SetStyleRules |
StyleBase:SetStyleRules(rules: Instances): null |
Similar to InsertStyleRule() but lets you declare and set multiple StyleRules at once. |
Events¶
| Member | Signature | Summary |
|---|---|---|
StyleRulesChanged |
StyleRulesChanged() |
Fires when one or more StyleRules is explicitly changed on the connected StyleSheet or StyleRule. |
Roblox reference: StyleBase
Generated from Nova's API dump and Roblox creator-docs. Nova-only members come from the engine's reflection metadata.