fn rendered(&mut self, ctx: &Context<Self>, _first_render: bool) {
        ctx.props()
            .renderer
            .set_settings_open(Some(self.settings_open))
            .unwrap();

        if self.on_rendered.is_some()
            && matches!(self.fonts.get_status(), FontLoaderStatus::Finished)
        {
            self.on_rendered
                .take()
                .unwrap()
                .send(())
                .expect("Orphan render");
        }
    }
/// On rendered call notify_resize().  This also triggers any registered
/// async callbacks to the Custom Element API.
On rendered call notify_resize().  This also triggers any registered
async callbacks to the Custom Element API.
On rendered call notify_resize () . This also triggers any registered async callbacks to the Custom Element API .
fn rendered(&mut self, ctx: &Context<Self>, _first_render: bool) {
        ctx.props()
            .renderer
            .set_settings_open(Some(self.settings_open))
            .unwrap();
        if self.on_rendered.is_some()
            && matches!(self.fonts.get_status(), FontLoaderStatus::Finished)
        {
            self.on_rendered
                .take()
                .unwrap()
                .send(())
                .expect("Orphan render");
        }
    }
fn rendered ( & mut self , ctx : & Context < Self > , _first_render : bool ) { ctx . props ( ) . renderer . set_settings_open ( Some ( self . settings_open ) ) . unwrap ( ) ; if self . on_rendered . is_some ( ) && matches ! ( self fonts get_status ( ) FontLoaderStatus Finished ) { self . on_rendered . take ( ) . unwrap ( ) . send ( ( ) ) . expect ( " " ) ; } }
On rendered call notify_resize().
On rendered call notify_resize () .
&mut self
ctx
&Context<Self>
_first_render
bool
&mut self
ctx
&Context<Self>
_first_render
bool