mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-30 09:27:13 +00:00
update nuxt-child props
This commit is contained in:
parent
b6b1fc3073
commit
b245b8d6ff
@ -12,24 +12,22 @@ export default {
|
|||||||
type: Object,
|
type: Object,
|
||||||
default: () => {
|
default: () => {
|
||||||
return {
|
return {
|
||||||
|
hooks: false,
|
||||||
mode: 'out-in', // out-in ou in-out
|
mode: 'out-in', // out-in ou in-out
|
||||||
name: 'fade',
|
name: 'fade',
|
||||||
type: '', // animation ou transition
|
type: '', // animation ou transition
|
||||||
enter: null, // isFunc = js, is String = css
|
enterClass: '',
|
||||||
enterActive: '',
|
enterActiveClass: '',
|
||||||
|
leaveClass: '',
|
||||||
|
leaveActiveClass: '',
|
||||||
beforeEnter: null, // Func
|
beforeEnter: null, // Func
|
||||||
|
enter: null,
|
||||||
afterEnter: null,
|
afterEnter: null,
|
||||||
enterCancelled: null,
|
enterCancelled: null,
|
||||||
leave: null, // isFunc = js, is String = css
|
beforeLeave: null,
|
||||||
leaveActive: '',
|
leave: null,
|
||||||
beforeLeave: null, // Func
|
|
||||||
afterLeave: null,
|
afterLeave: null,
|
||||||
leaveCancelled: null,
|
leaveCancelled: null
|
||||||
appear: null, // isFunc = js, is String = css
|
|
||||||
appearClass: '',
|
|
||||||
appearActiveClass: '',
|
|
||||||
beforeAppear: null,
|
|
||||||
afterAppear: null
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user