pub fn lifecycle(&mut self, ctx: &mut LifeCycleCtx, event: &LifeCycle, env: &Env) {
        if let LifeCycle::Size(_) = event {
            // Show the scrollbars any time our size changes
            self.reset_scrollbar_fade(|d| ctx.request_timer(d), env);
        }
    }
/// Perform any necessary action prompted by a lifecycle event
///
/// Make sure to call on every lifecycle event
Perform any necessary action prompted by a lifecycle event
Make sure to call on every lifecycle event
Perform any necessary action prompted by a lifecycle event Make sure to call on every lifecycle event
pub fn lifecycle(&mut self, ctx: &mut LifeCycleCtx, event: &LifeCycle, env: &Env) {
        if let LifeCycle::Size(_) = event {
            // Show the scrollbars any time our size changes
            self.reset_scrollbar_fade(|d| ctx.request_timer(d), env);
        }
    }
pub fn lifecycle ( & mut self , ctx : & mut LifeCycleCtx , event : & LifeCycle , env : & Env ) { if let LifeCycle :: Size ( _ ) = event { // Show the scrollbars any time our size changes self . reset_scrollbar_fade ( | d | ctx . request_timer ( d ) , env ) ; } }
Perform any necessary action prompted by a lifecycle event
Make sure to call on every lifecycle event
Perform any necessary action prompted by a lifecycle event Make sure to call on every lifecycle event
&mut self
ctx
&mut LifeCycleCtx
event
&LifeCycle
env
&Env
&mut self
ctx
&mut LifeCycleCtx
event
&LifeCycle
env
&Env