Beamable SDK
Public Member Functions | Properties | Events | List of all members
Beamable.UI.Buss.BussElement Class Reference
Inheritance diagram for Beamable.UI.Buss.BussElement:
Inheritance graph
[legend]
Collaboration diagram for Beamable.UI.Buss.BussElement:
Collaboration graph
[legend]

Public Member Functions

virtual void ApplyStyle ()
 
void UpdateClasses (IEnumerable< string > newClasses)
 
void AddClass (string className)
 
void RemoveClass (string className)
 
void SetClass (string className, bool enabled)
 
void SetPseudoClass (string className, bool enabled)
 
void OnStyleChanged ()
 Used when the parent or the style sheet is changed. Recalculates the list of style sheets that are used for this BussElement and then recalculates BussStyle.
 
void RecalculateStyleSheets ()
 
void RecalculateStyle ()
 Recalculates style for this and children BussElements.
 
void CheckParent ()
 
void OnBeforeSerialize ()
 
void OnAfterDeserialize ()
 

Properties

List< BussStyleSheetAllStyleSheets = new List<BussStyleSheet>() [get]
 
BussStyle Style = new BussStyle() [get]
 
string Id [getset]
 
IEnumerable< string > Classes [get]
 
IEnumerable< string > PseudoClasses [get]
 
string TypeName [get]
 
Dictionary< string, BussStylePseudoStyles = new Dictionary<string, BussStyle>() [get]
 
BussStyleDescription InlineStyle [get]
 
BussStyleSheet StyleSheet [getset]
 
BussElement Parent [get]
 
IReadOnlyList< BussElementChildren [get]
 

Events

Action StyleSheetsChanged
 
Action StyleRecalculated
 
Action Validate
 

The documentation for this class was generated from the following file: