Brightify / ReactantUI

Reactant extension for UI declaration in XML
MIT License
19 stars 2 forks source link

Conditional properties #125

Closed MatyasKriz closed 2 years ago

MatyasKriz commented 6 years ago

After introducing conditions to constraints, some developers fell in love so much that they wanted these conditions in their properties as well. To a certain extent, this pull request solves this by extending the condition API to properties. However, element-wide and multiple-attribute properties are not yet supported as of yet. TODO, I guess. Tests also got renovated to make us more confident in the condition evaluation accuracy.