[][src]Trait jss::traits::TStyleStates

pub trait TStyleStates: Debug + PartialEq + Clone {
    fn enable_states(&mut self, _: Vec<String>);
}

Enabled states of current style, for create valid style by enabled states Example: "default"+"hover", "default"+"active", "default"+"focus", etc.. states ordering by prority - each subsequent state overlaps the properties of the previous state by key/value properties

Required Methods

Implementors

impl TStyleStates for Style
[src]