Topics

Note Selector

States

Sunday, September 6, 2020

  • States should be predefined.
  • First state should be "Default".
  • set_attribute_value() should use current state unless otherwise specified.
  • Each state should have its own set of attributes.
  • Themeable children should inherit states from their parents.
  • set_state() should check if the provided state is valid.