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