Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ygs-code/vue
/ functions
Functions
418 in github.com/ygs-code/vue
⨍
Functions
418
◇
Types & classes
0
↓ 142 callers
Function
isDef
(v)
vue.js:31
↓ 48 callers
Function
isUndef
(v)
vue.js:26
↓ 30 callers
Function
extend
(to, _from)
vue.js:344
↓ 20 callers
Function
getAndRemoveAttr
(el, //el 虚拟dom name,//属性名称 需要删除的属性 name,获取值的name属性 removeFromMap //是否要删除属性的标志 )
vue.js:9845
↓ 20 callers
Function
isTrue
(v)
vue.js:36
↓ 19 callers
Function
hasOwn
(obj, key)
vue.js:189
↓ 18 callers
Function
makeMap
* Make a map and return a function for checking if a key * is in that map. * * //map 对象中的[name1,name2,name3,name4] 变成这样的map{name1:tru
vue.js:141
↓ 17 callers
Function
isObject
* Quick object check - this is primarily used to tell * Objects from primitive values when we know the value * is a JSON-compliant type.
vue.js:66
↓ 14 callers
Function
isPlainObject
* Strict object type check. Only returns true * for plain JavaScript objects.
vue.js:86
↓ 12 callers
Function
getBindingAttr
(el, //虚拟dom vonde name, //name getStatic // )
vue.js:9808
↓ 11 callers
Function
cached
(fn)
vue.js:231
↓ 11 callers
Function
callHook
(vm, //虚拟dom vonde hook //钩子函数的key )
vue.js:4324
↓ 11 callers
Function
genAssignmentCode
* Cross-platform codegen helper for generating v-model value assignment code. * 用于生成v-model值赋值代码的跨平台codegen助手。 * 创赋值代码,转义字符串对象拆分字符串对象 把后一位k
vue.js:9929
↓ 9 callers
Function
advance
(n)
vue.js:12765
↓ 9 callers
Function
genGuard
(condition)
vue.js:14478
↓ 9 callers
Function
handleError
(err, vm, info)
vue.js:2552
↓ 9 callers
Function
parseModel
(val)
vue.js:9982
↓ 9 callers
Function
removeTransitionClass
(el, cls)
vue.js:10997
↓ 8 callers
Function
isPrimitive
* Check if value is primitive * //判断数据类型是否是string,number,symbol,boolean
vue.js:50
↓ 8 callers
Function
mergeVNodeHook
(def, hookKey, hook)
vue.js:3118
↓ 8 callers
Function
remove
* Remove an item from an array * //删除数组
vue.js:174
↓ 8 callers
Function
toggleObserving
(value)
vue.js:1329
↓ 7 callers
Function
addHandler
( el, //虚拟dom name, //name 事件名称 事件类型 value, //事件函数 modifiers, //事件类型状态状态
vue.js:9709
↓ 7 callers
Function
addProp
(el, name, value)
vue.js:9666
↓ 7 callers
Function
addTransitionClass
(el, cls)
vue.js:10987
↓ 7 callers
Function
genElement
( el, //ast对象或者虚拟dom state //渲染虚拟dom的一些方法 )
vue.js:14733
↓ 7 callers
Function
isNative
(Ctor)
vue.js:751
↓ 7 callers
Function
sameVnode
(a, b)
vue.js:7880
↓ 6 callers
Function
addIfCondition
( el, // el当前渲染的虚拟组件 condition // 标记的状态 对象 {exp: view中的if属性,block: el当前渲染的虚拟组件} )
vue.js:13711
↓ 6 callers
Function
createElm
( vnode, //vnode 节点, insertedVnodeQueue, //插入Vnode队列 parentElm, //父亲节点
vue.js:8063
↓ 6 callers
Function
defineReactive
* Define a reactive property on an Object. * 在对象上定义一个无功属性。 * 更新数据 * 通过defineProperty的set方法去通知notify()订阅者subscribers有新的值修改 * 添加观察者
vue.js:1483
↓ 6 callers
Function
genChildren
(el, //dom state, //状态 checkSkip, // 布尔值 altGenElement, altGenNode )
vue.js:15124
↓ 6 callers
Function
observe
* Attempt to create an observer instance for a value, * returns the new observer if successfully observed, * or the existing observer if the
vue.js:1438
↓ 6 callers
Function
patchVnode
( oldVnode, // 旧的虚拟dom vnode, // 新的虚拟dom insertedVnodeQueue, // 删除虚拟dom队
vue.js:8672
↓ 6 callers
Function
registerRef
(vnode, isRemoval)
vue.js:7834
↓ 5 callers
Function
callHook$1
( dir, //新的指令值 hook, //钩子函数 vnode, //新的vnode oldVnode, //旧的vnode isDe
vue.js:9216
↓ 5 callers
Function
createEmptyVNode
(text)
vue.js:1158
↓ 5 callers
Function
createTextVNode
(val)
vue.js:1168
↓ 5 callers
Function
isTextNode
(node)
vue.js:3314
↓ 5 callers
Function
parseEndTag
( tagName, //标签名称 start, //结束标签开始位置 end //结束标签结束位置 )
vue.js:12940
↓ 5 callers
Function
parseText
(text, //字符串 delimiters //被修改默认的标签匹配 )
vue.js:12308
↓ 5 callers
Function
pluckModuleFunction
( modules, //数组或者对象 key //key )
vue.js:9654
↓ 5 callers
Function
warnOnce
(msg)
vue.js:13191
↓ 4 callers
Function
checkExpression
(exp, text, errors)
vue.js:15427
↓ 4 callers
Function
createElement
( context, //vm new Vue 实例化的对象 tag, //标签标签名称 data, //标签数据,包括属性,class style 指令等
vue.js:6339
↓ 4 callers
Function
getType
* Use function string name to check built-in types, * because a simple equality check will fail when running * across different vms / iframe
vue.js:2507
↓ 4 callers
Function
insert
( parent,//父真实dom elm,//当前vonde的真实dom ref$$1 // 当前vonde的真实dom的兄弟节点或者不是
vue.js:8293
↓ 4 callers
Function
isAsyncPlaceholder
(node)
vue.js:3570
↓ 4 callers
Function
isFalsyAttrValue
(val)
vue.js:7479
↓ 4 callers
Function
isServerRendering
()
vue.js:729
↓ 4 callers
Function
looseEqual
* Check if two values are loosely equal - that is, * if they are plain objects, do they have the same shape? * 检测a和b的数据类型,是否是不是数组或者对象,对象的key
vue.js:425
↓ 4 callers
Function
matches
(pattern, name)
vue.js:7174
↓ 4 callers
Function
mergeOptions
* Merge two option objects into a new one. * Core utility used in both instantiation and inheritance. * 将两个对象合成一个对象 将父值对象和子值对象合并在一起,并且优先取值子值
vue.js:2131
↓ 4 callers
Function
once
* Ensure a function is called only once. * 确保该函数只调用一次 闭包函数
vue.js:481
↓ 4 callers
Function
parseFilters
(exp)
vue.js:9434
↓ 4 callers
Function
processElement
(element, options)
vue.js:13550
↓ 4 callers
Function
toNumber
* Convert a input value to a number for persistence. * If the conversion fails, return original string.
vue.js:128
↓ 4 callers
Function
toRawType
(value)
vue.js:77
↓ 4 callers
Function
traverse
* Recursively traverse an object to evoke all converted 递归遍历对象以唤起所有转换 * getters, so that every nested property inside the object 吸收器,以便对象内的每个嵌套属性
vue.js:2918
↓ 3 callers
Function
addAttr
(el, name, value)
vue.js:9672
↓ 3 callers
Function
addRawAttr
(el, name, value)
vue.js:9679
↓ 3 callers
Function
assertObjectType
(name, value, vm)
vue.js:2114
↓ 3 callers
Function
checkIdentifier
(ident, //识别 type, //类型 text, //为本 errors //错误信息 )
vue.js:15412
↓ 3 callers
Function
cloneASTElement
(el)
vue.js:14175
↓ 3 callers
Function
cloneVNode
(vnode, deep)
vue.js:1188
↓ 3 callers
Function
concat
(a, b)
vue.js:7536
↓ 3 callers
Function
createComponent
( Ctor, //VueComponen函数 data, // 组件标签上面的属性数据 context, //vm Vue 实例化之后的对象上下文 chi
vue.js:6081
↓ 3 callers
Function
createFnInvoker
(fns)
vue.js:3021
↓ 3 callers
Function
createWatcher
(vm, //vm对象 expOrFn, // key 值 或者函数 handler, // 函数 或者 对象 或者key options // 参数 )
vue.js:5201
↓ 3 callers
Function
def
* Define a property. * 用defineProperty 定义属性 * 详细地址 https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Object/d
vue.js:643
↓ 3 callers
Function
ensureCtor
(comp, base)
vue.js:3413
↓ 3 callers
Function
enter
( vnode, toggleDisplay )
vue.js:11134
↓ 3 callers
Function
eof
()
vue.js:10036
↓ 3 callers
Function
forceRender
()
vue.js:3481
↓ 3 callers
Function
invokeCreateHooks
(vnode, insertedVnodeQueue)
vue.js:8356
↓ 3 callers
Function
invokeDestroyHook
(vnode)
vue.js:8452
↓ 3 callers
Function
isPatchable
(vnode)
vue.js:8347
↓ 3 callers
Function
isXlink
(name)
vue.js:7469
↓ 3 callers
Function
leave
( vnode, //虚拟dom rm //回调函数 )
vue.js:11356
↓ 3 callers
Function
next
()
vue.js:10030
↓ 3 callers
Function
normalizeStyleData
(data)
vue.js:10656
↓ 3 callers
Function
popTarget
()
vue.js:1056
↓ 3 callers
Function
proxy
(target, sourceKey, key)
vue.js:4841
↓ 3 callers
Function
pruneCacheEntry
(cache, //缓存对象 key, //单个key keys, //多个key current //当前虚拟dom )
vue.js:7209
↓ 3 callers
Function
pushTarget
(_target)
vue.js:1046
↓ 3 callers
Function
query
* Query an element selector if it's not an element already. * html5 获取dom
vue.js:7699
↓ 3 callers
Function
removeNode
(el)
vue.js:8023
↓ 3 callers
Function
removeVnodes
(parentElm, vnodes, startIdx, endIdx)
vue.js:8470
↓ 3 callers
Function
resolveAsset
* Resolve an asset. * This function is used because child instances need access * to assets defined in its ancestor chain. * 检测指令是否在 组
vue.js:2201
↓ 3 callers
Function
resolveSlots
* Runtime helper for resolving raw children VNodes into a slot object. * 用于将原始子节点vnode解析为槽对象的运行时帮助器。 * * 判断children 有没有分发式插槽 并且过滤掉空的插槽,
vue.js:3788
↓ 3 callers
Function
stringifyClass
(value)
vue.js:7547
↓ 3 callers
Function
toArray
* Convert an Array-like object to a real Array. * 将假的数组转换成真的数组
vue.js:316
↓ 3 callers
Function
trigger
(el, type)
vue.js:11769
↓ 3 callers
Function
validateComponentName
(name)
vue.js:1974
↓ 3 callers
Function
validateProp
( key, //key propOptions, //原始props 参数 propsData, //转义过的组件props数据 vm // V
vue.js:2281
↓ 2 callers
Function
activateChildComponent
(vm, // 虚拟dom vode direct //布尔值 )
vue.js:4285
↓ 2 callers
Function
actuallySetSelected
(el, binding, vm)
vue.js:11711
↓ 2 callers
Function
addClass
* Add class with compatibility for SVG since classList is not supported on * SVG elements in IE * *添加与SVG兼容的类,因为不支持类列表 * IE中的SVG元素
vue.js:10846
↓ 2 callers
Function
addVnodes
(parentElm, //父亲节点 refElm, //当前点 vnodes, //虚拟dom startIdx, // 开始index
vue.js:8428
↓ 2 callers
Function
baseSetAttr
(el, //dom节点 key, //属性的 key value //属性的值 )
vue.js:9338
next →
1–100 of 418, ranked by callers