pub trait CarouselPropsTrait {
    type TItemRenderFn: Fn(i32) -> Dom;
    type TApplyFn: FnOnce(DomBuilder<HtmlElement>) -> DomBuilder<HtmlElement>;

    // Required method
    fn take(self) -> CarouselProps<Self::TItemRenderFn, Self::TApplyFn>;
}

Required Associated Types§

source

type TItemRenderFn: Fn(i32) -> Dom

source

type TApplyFn: FnOnce(DomBuilder<HtmlElement>) -> DomBuilder<HtmlElement>

Required Methods§

Implementors§

source§

impl<TItemRenderFn: Fn(i32) -> Dom, TApplyFn: FnOnce(DomBuilder<HtmlElement>) -> DomBuilder<HtmlElement>> CarouselPropsTrait for CarouselProps<TItemRenderFn, TApplyFn>

§

type TItemRenderFn = TItemRenderFn

§

type TApplyFn = TApplyFn