interface ObjectDirective<T, V> {
    beforeMount?: DirectiveHook<T, null, V>;
    beforeUnmount?: DirectiveHook<T, null, V>;
    beforeUpdate?: DirectiveHook<T, VNode<any, T, {
        [key: string]: any;
    }>, V>;
    created?: DirectiveHook<T, null, V>;
    deep?: boolean;
    getSSRProps?: SSRDirectiveHook<V>;
    mounted?: DirectiveHook<T, null, V>;
    unmounted?: DirectiveHook<T, null, V>;
    updated?: DirectiveHook<T, VNode<any, T, {
        [key: string]: any;
    }>, V>;
}

Type Parameters

  • T = any
  • V = any

Properties

beforeMount?: DirectiveHook<T, null, V>
beforeUnmount?: DirectiveHook<T, null, V>
beforeUpdate?: DirectiveHook<T, VNode<any, T, {
    [key: string]: any;
}>, V>
created?: DirectiveHook<T, null, V>
deep?: boolean
getSSRProps?: SSRDirectiveHook<V>
mounted?: DirectiveHook<T, null, V>
unmounted?: DirectiveHook<T, null, V>
updated?: DirectiveHook<T, VNode<any, T, {
    [key: string]: any;
}>, V>