MCPcopy
hub / github.com/Meituan-Dianping/mpvue / VNodeData

Interface VNodeData

flow/vnode.js:35–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33};
34
35declare interface VNodeData {
36 key?: string | number;
37 slot?: string;
38 ref?: string;
39 is?: string;
40 pre?: boolean;
41 tag?: string;
42 staticClass?: string;
43 class?: any;
44 staticStyle?: { [key: string]: any };
45 style?: Array<Object> | Object;
46 normalizedStyle?: Object;
47 props?: { [key: string]: any };
48 attrs?: { [key: string]: string };
49 domProps?: { [key: string]: any };
50 hook?: { [key: string]: Function };
51 on?: ?{ [key: string]: Function | Array<Function> };
52 nativeOn?: { [key: string]: Function | Array<Function> };
53 transition?: Object;
54 show?: boolean; // marker for v-show
55 inlineTemplate?: {
56 render: Function;
57 staticRenderFns: Array<Function>;
58 };
59 directives?: Array<VNodeDirective>;
60 keepAlive?: boolean;
61 scopedSlots?: { [key: string]: Function };
62 model?: {
63 value: any;
64 callback: Function;
65 };
66};
67
68declare type VNodeDirective = {
69 name: string;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected