pub struct Context<COMP: BaseComponent> { /* private fields */ }
Expand description
Implementations§
source§impl<COMP: BaseComponent> Context<COMP>
impl<COMP: BaseComponent> Context<COMP>
sourcepub fn props(&self) -> &COMP::Properties
pub fn props(&self) -> &COMP::Properties
The component’s props
sourcepub fn prepared_state(&self) -> Option<&str>
pub fn prepared_state(&self) -> Option<&str>
The component’s prepared state