pub trait DrawerPluginInterface<T>where
    T: Debug + Clone + RespoAction,
{ fn render(&self) -> Result<RespoNode<T>, String>
    where
        T: Clone + Debug
; fn show(&self, dispatch: DispatchFn<T>) -> Result<(), String>; fn close(&self, dispatch: DispatchFn<T>) -> Result<(), String>; fn new(states: StatesTree, options: DrawerOptions<T>) -> Result<Self, String>
    where
        Self: Sized
; fn share_with_ref(&self) -> Rc<Self>; }
Expand description

provides the interfaces to component of custom drawer dialog

Required Methods§

renders UI

to show drawer

to close drawer

share it with Rc

Implementors§