Function thaw_components::CSSTransition
source · pub fn CSSTransition<E, CF, IV>(
props: CSSTransitionProps<E, CF, IV>,
) -> impl IntoViewwhere
E: ElementType + 'static,
E::Output: JsCast + Clone + Deref<Target = HtmlElement> + 'static,
CF: FnOnce(ReadSignal<Option<&'static str>>) -> IV + Send + 'static,
IV: IntoView + 'static,Expand description
§CSS Transition
Reference to https://vuejs.org/guide/built-ins/transition.html
§Required Props
- node_ref:
NodeRef<E> - show:
impl Into<MaybeSignal<bool>> - name:
impl Into<MaybeSignal<String>> - children: [
CF]
§Optional Props
- appear:
bool - on_before_enter:
impl Into<ArcCallback> - on_enter:
impl Into<ArcCallback> - on_after_enter:
impl Into<ArcCallback> - on_before_leave:
impl Into<ArcCallback> - on_leave:
impl Into<ArcCallback> - on_after_leave:
impl Into<ArcCallback>