pub fn manage(&self, object:&DomSymbol) {
        let dom  = object.dom();
        let data = &self.data;
        if object.is_visible() {
            self.view_projection_dom.append_or_panic(dom);
        }
        object.display_object().set_on_hide(f_!(dom.remove()));
        object.display_object().set_on_show(f__!([data,dom] {
            data.view_projection_dom.append_or_panic(&dom)
        }));
    }
/// Creates a new instance of DomSymbol and adds it to parent.
Creates a new instance of DomSymbol and adds it to parent.
Creates a new instance of DomSymbol and adds it to parent .
pub fn manage(&self, object:&DomSymbol) {
        let dom  = object.dom();
        let data = &self.data;
        if object.is_visible() {
            self.view_projection_dom.append_or_panic(dom);
        }
        object.display_object().set_on_hide(f_!(dom.remove()));
        object.display_object().set_on_show(f__!([data,dom] {
            data.view_projection_dom.append_or_panic(&dom)
        }));
    }
pub fn manage ( & self , object : & DomSymbol ) { let dom = object . dom ( ) ; let data = & self . data ; if object . is_visible ( ) { self . view_projection_dom . append_or_panic ( dom ) ; } object . display_object ( ) . set_on_hide ( f_ ! ( dom remove ( ) ) ) ; object . display_object ( ) . set_on_show ( f__ ! ( [ data dom ] { data view_projection_dom append_or_panic ( dom ) } ) ) ; }
Creates a new instance of DomSymbol and adds it to parent.
Creates a new instance of DomSymbol and adds it to parent .
&self
object
&DomSymbol
&self
object
&DomSymbol