Update packages/runtime-core/src/components/BaseTransition.ts
Co-Authored-By: Carlos Rodrigues <david-181@hotmail.com>
This commit is contained in:
parent
9bddf3820e
commit
63c8444d4a
@ -43,7 +43,7 @@ export interface BaseTransitionProps<HostElement = RendererElement> {
|
|||||||
onLeaveCancelled?: (el: HostElement) => void // only fired in persisted mode
|
onLeaveCancelled?: (el: HostElement) => void // only fired in persisted mode
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface TransitionHooks<HostElement = RendererElement> {
|
export interface TransitionHooks<HostElement extends RendererElement = RendererElement> {
|
||||||
persisted: boolean
|
persisted: boolean
|
||||||
beforeEnter(el: HostElement): void
|
beforeEnter(el: HostElement): void
|
||||||
enter(el: HostElement): void
|
enter(el: HostElement): void
|
||||||
|
Loading…
Reference in New Issue
Block a user