@yesstudio/nuxt-composables
    Preparing search index...

    Interface DirectiveBinding<Value, Modifiers, Arg>

    Runtime helper for applying directives to a vnode. Example usage:

    const comp = resolveComponent('comp') const foo = resolveDirective('foo') const bar = resolveDirective('bar')

    return withDirectives(h(comp), [ [foo, this.x], [bar, this.y] ])

    interface DirectiveBinding<
        Value = any,
        Modifiers extends string = string,
        Arg = any,
    > {
        arg?: Arg;
        dir: ObjectDirective<any, Value, Modifiers, Arg>;
        instance:
            | Record<string, any>
            | ComponentPublicInstance<
                {},
                {},
                {},
                {},
                {},
                {},
                {},
                {},
                false,
                ComponentOptionsBase<
                    any,
                    any,
                    any,
                    any,
                    any,
                    any,
                    any,
                    any,
                    any,
                    {},
                    {},
                    string,
                    {},
                    {},
                    {},
                    string,
                    ComponentProvideOptions,
                >,
                {},
                {},
                "",
                {},
                any,
            >
            | null;
        modifiers: DirectiveModifiers<Modifiers>;
        oldValue: Value | null;
        value: Value;
    }

    Type Parameters

    • Value = any
    • Modifiers extends string = string
    • Arg = any
    Index

    Properties

    arg?: Arg
    instance:
        | Record<string, any>
        | ComponentPublicInstance<
            {},
            {},
            {},
            {},
            {},
            {},
            {},
            {},
            false,
            ComponentOptionsBase<
                any,
                any,
                any,
                any,
                any,
                any,
                any,
                any,
                any,
                {},
                {},
                string,
                {},
                {},
                {},
                string,
                ComponentProvideOptions,
            >,
            {},
            {},
            "",
            {},
            any,
        >
        | null
    oldValue: Value | null
    value: Value