Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Stevenzwzhai/plugs
/ functions
Functions
372 in github.com/Stevenzwzhai/plugs
⨍
Functions
372
◇
Types & classes
16
↓ 2 callers
Function
getValue
* Get select value * * @param {SelectElement} el * @param {Boolean} multi * @param {Boolean} init * @return {Array|*}
自定义模板-template/js/vue.js:4938
↓ 2 callers
Function
guardArrayAssets
* Guard an Array-format assets option and converted it * into the key-value Object format. * * @param {Object|Array} assets * @return {Obj
自定义模板-template/js/vue.js:1856
↓ 2 callers
Function
insert
* Shared DOM insertion function. * * @param {Vue} vm * @param {Element} target * @param {Function} [cb] * @param {Boolean} [w
自定义模板-template/js/vue.js:9161
↓ 2 callers
Function
isLiteral
(exp)
自定义模板-template/js/vue.js:92
↓ 2 callers
Function
isRealTemplate
* Check if a node is a supported template node with a * DocumentFragment content. * * @param {Node} node * @return {Boolean}
自定义模板-template/js/vue.js:3473
↓ 2 callers
Function
isReserved
* Check if a string starts with $ or _ * * @param {String} str * @return {Boolean}
自定义模板-template/js/vue.js:103
↓ 2 callers
Function
isScript
(el)
自定义模板-template/js/vue.js:7618
↓ 2 callers
Function
isTrimmable
(node)
自定义模板-template/js/vue.js:1410
↓ 2 callers
Function
makeComputedGetter
(getter, owner)
自定义模板-template/js/vue.js:8026
↓ 2 callers
Function
makeGetterFn
* Build a getter function. Requires eval. * * We isolate the try/catch so it doesn't affect the * optimization of the parse function when it
自定义模板-template/js/vue.js:2923
↓ 2 callers
Function
makeTerminalNodeLinkFn
* Build a node link function for a terminal directive. * A terminal link function terminates the current * compilation recursion and handles com
自定义模板-template/js/vue.js:7431
↓ 2 callers
Function
mergeData
* Helper that recursively merges two data objects together.
自定义模板-template/js/vue.js:1645
↓ 2 callers
Function
mergeField
(key)
自定义模板-template/js/vue.js:1913
↓ 2 callers
Function
nodeToFragment
* Convert a template node to a DocumentFragment. * * @param {Node} node * @return {DocumentFragment}
自定义模板-template/js/vue.js:3541
↓ 2 callers
Function
parse
* Parse a string path into an array of segments * * @param {String} path * @return {Array|undefined}
自定义模板-template/js/vue.js:2627
↓ 2 callers
Function
parseModifiers
* Parse modifiers from directive attribute name. * * @param {String} name * @return {Object}
自定义模板-template/js/vue.js:7575
↓ 2 callers
Function
prepend
* Prepend el to target * * @param {Element} el * @param {Element} target
自定义模板-template/js/vue.js:1240
↓ 2 callers
Function
processPropValue
* Process a prop with a rawValue, applying necessary coersions, * default values & assertions and call the given callback with * processed value
自定义模板-template/js/vue.js:6168
↓ 2 callers
Function
pushFilter
* Push a filter to the current directive object
自定义模板-template/js/vue.js:629
↓ 2 callers
Function
pushJob
* Push a job into the queue. * * @param {Function} job
自定义模板-template/js/vue.js:6427
↓ 2 callers
Function
register
* Helper to register an event/watch callback. * * @param {Vue} vm * @param {String} action * @param {String} key * @param {Fu
自定义模板-template/js/vue.js:8149
↓ 2 callers
Function
registerCallbacks
* Register callbacks for option events and watchers. * * @param {Vue} vm * @param {String} action * @param {Object} hash
自定义模板-template/js/vue.js:8124
↓ 2 callers
Function
removeNodeRange
* Remove a range of nodes with transition, store * the nodes in a fragment with correct ordering, * and call callback when done. * * @para
自定义模板-template/js/vue.js:1501
↓ 2 callers
Function
removeWithTransition
* Remove with transition. * * @param {Element} el * @param {Vue} vm * @param {Function} [cb]
自定义模板-template/js/vue.js:1072
↓ 2 callers
Function
runBatcherQueue
* Run the watchers in a single queue. * * @param {Array} queue
自定义模板-template/js/vue.js:3068
↓ 2 callers
Function
searchByRegExp
(keyWord, list)
fuzzySearch/main.js:58
↓ 2 callers
Function
setTokenType
(type)
自定义模板-template/js/vue.js:7220
↓ 2 callers
Function
teardownDirs
* Teardown partial linked directives. * * @param {Vue} vm * @param {Array} dirs * @param {Boolean} destroying
自定义模板-template/js/vue.js:6978
↓ 2 callers
Function
toString
(obj)
interview/demo11.js:6
↓ 1 callers
Method
_move
()
drag/index.js:44
↓ 1 callers
Method
_on
()
drag/index.js:30
↓ 1 callers
Method
_parse
(cookie)
cookie/index.js:6
↓ 1 callers
Function
_utf8_decode
(utftext)
storage/base64.js:81
↓ 1 callers
Function
_utf8_decode
(utftext)
storage-system/index.js:147
↓ 1 callers
Function
_utf8_encode
(string)
storage/base64.js:60
↓ 1 callers
Function
_utf8_encode
(string)
storage-system/index.js:126
↓ 1 callers
Function
add
* Created by twhp on 2017/2/20 0020.
Sum-1/index2.js:4
↓ 1 callers
Function
addS
(num1, num2)
cale-big-num/index.js:45
↓ 1 callers
Function
assertProp
* Assert whether a prop is valid. * * @param {Object} prop * @param {*} value * @param {Vue} vm
自定义模板-template/js/vue.js:6248
↓ 1 callers
Function
assertType
* Assert the type of a value * * @param {*} value * @param {Function} type * @return {Object}
自定义模板-template/js/vue.js:6314
↓ 1 callers
Function
binary_search
(datalist, keyword, index)
interview/demo7.js:2
↓ 1 callers
Function
callActivateHooks
* Call activate hooks in order (asynchronous) * * @param {Array} hooks * @param {Vue} vm * @param {Function} cb
自定义模板-template/js/vue.js:5980
↓ 1 callers
Function
callback
()
search-arithmetic/test1.js:23
↓ 1 callers
Function
camelize
(str)
get-background-color/main.js:6
↓ 1 callers
Function
checkComponent
* Check if an element is a component. If yes, return * a component link function. * * @param {Element} el * @param {Object} options * @
自定义模板-template/js/vue.js:7340
↓ 1 callers
Function
checkComponentAttr
* Check if an element is a component, if yes return its * component id. * * @param {Element} el * @param {Object} options * @return {Ob
自定义模板-template/js/vue.js:1579
↓ 1 callers
Function
checkElementDirectives
* Check for element directives (custom elements that should * be resovled as terminal directives). * * @param {Element} el * @param {Objec
自定义模板-template/js/vue.js:7320
↓ 1 callers
Function
checkParent
(ele)
get-background-color/main.js:44
↓ 1 callers
Function
checkTerminalDirectives
* Check an element for terminal directives in fixed order. * If it finds one, return a terminal link function. * * @param {Element} el * @
自定义模板-template/js/vue.js:7374
↓ 1 callers
Function
classify
(str)
自定义模板-template/js/vue.js:205
↓ 1 callers
Function
coerceProp
* Force parsing value with coerce option. * * @param {*} value * @param {Object} options * @return {*}
自定义模板-template/js/vue.js:6293
↓ 1 callers
Function
compileAndLinkProps
* Compile link props on an instance. * * @param {Vue} vm * @param {Element} el * @param {Object} props * @param {Object} [scope] * @
自定义模板-template/js/vue.js:6998
↓ 1 callers
Function
compileElement
* Compile an element and return a nodeLinkFn. * * @param {Element} el * @param {Object} options * @return {Function|null}
自定义模板-template/js/vue.js:7112
↓ 1 callers
Function
compileGetter
* Rewrite an expression, prefixing all path accessors with * `scope.` and generate getter/setter functions. * * @param {String} exp * @ret
自定义模板-template/js/vue.js:2899
↓ 1 callers
Function
compileNodeList
* Compile a node list and return a childLinkFn. * * @param {NodeList} nodeList * @param {Object} options * @return {Function|undefined}
自定义模板-template/js/vue.js:7274
↓ 1 callers
Function
compileProps
* Compile props on a root element and return * a props link function. * * @param {Element|DocumentFragment} el * @param {Array} propOption
自定义模板-template/js/vue.js:6010
↓ 1 callers
Function
compileRoot
* Compile the root element of an instance. * * 1. attrs on context container (context scope) * 2. attrs on the component template root node,
自定义模板-template/js/vue.js:7021
↓ 1 callers
Function
compileTextNode
* Compile a textNode and return a nodeLinkFn. * * @param {TextNode} node * @param {Object} options * @return {Function|null} textNodeLinkF
自定义模板-template/js/vue.js:7153
↓ 1 callers
Function
createClass
* A function that returns a sub-class constructor with the * given name. This gives us much nicer output when * logging instances in the con
自定义模板-template/js/vue.js:9982
↓ 1 callers
Function
createRandomId
()
storage-system/index.js:63
↓ 1 callers
Function
dataAPI
(Vue)
自定义模板-template/js/vue.js:8873
↓ 1 callers
Function
dealFocusExtend
(obj,index)
自定义模板-template/js/util.js:75
↓ 1 callers
Function
dealFocusL
(obj,index,allKeyWords)
自定义模板-template/js/util.js:3
↓ 1 callers
Function
dealFocusMove
(obj,index)
自定义模板-template/js/util.js:48
↓ 1 callers
Function
dealFocusR
(obj,index,allKeyWords)
自定义模板-template/js/util.js:25
↓ 1 callers
Function
del
* Delete a property and trigger change if necessary. * * @param {Object} obj * @param {String} key
自定义模板-template/js/vue.js:46
↓ 1 callers
Function
diffChildren
(oldChildren, newChildren, index, patches)
virtual-dom/diff.js:49
↓ 1 callers
Function
diffProps
(oldNode, newNode)
virtual-dom/diff.js:70
↓ 1 callers
Function
dispatch
(node, walk, patches)
virtual-dom/patch.js:15
↓ 1 callers
Function
dispatch
(n, m)
interview/demo1.js:7
↓ 1 callers
Method
doSomeInterestingThings
()
interview/demo2.js:22
↓ 1 callers
Function
domAPI
(Vue)
自定义模板-template/js/vue.js:9047
↓ 1 callers
Function
dreduce3
()
interview/demo9.js:29
↓ 1 callers
Function
eventsAPI
(Vue)
自定义模板-template/js/vue.js:9232
↓ 1 callers
Function
eventsMixin
(Vue)
自定义模板-template/js/vue.js:8072
↓ 1 callers
Function
findMax
(str)
interview/demo8.js:3
↓ 1 callers
Function
findMedianSortedArrays
(nums1, nums2)
virtual-dom/a.js:1
↓ 1 callers
Function
findStr
(str)
interview/test1.js:2
↓ 1 callers
Function
findVmFromFrag
* Find a vm from a fragment. * * @param {Fragment} frag * @return {Vue|undefined}
自定义模板-template/js/vue.js:4553
↓ 1 callers
Function
foreach
(array, callback, scope)
element-show/app.js:34
↓ 1 callers
Function
formatSubPath
* Format a subPath, return its plain form if it is * a literal string or number. Otherwise prepend the * dynamic indicator (*). * * @param
自定义模板-template/js/vue.js:2611
↓ 1 callers
Function
formatValue
* Format value * * @param {*} value * @return {String}
自定义模板-template/js/vue.js:6362
↓ 1 callers
Function
get
(obj, prepath, keyword)
interview/demo5.js:37
↓ 1 callers
Function
getBooleanValue
()
自定义模板-template/js/vue.js:4984
↓ 1 callers
Function
getKeyWord
(obj, keyword)
interview/demo5.js:34
↓ 1 callers
Function
getMap
(path, fn)
front-end-watch/index.js:94
↓ 1 callers
Method
getName
()
interview/demo3.js:30
↓ 1 callers
Function
getOuterHTML
* Get outerHTML of elements, taking care * of SVG elements in IE as well. * * @param {Element} el * @return {String}
自定义模板-template/js/vue.js:1540
↓ 1 callers
Function
getPathCharType
* Determine the type of a character in a keypath. * * @param {Char} ch * @return {String} type
自定义模板-template/js/vue.js:2555
↓ 1 callers
Function
getPropDefaultValue
* Get the default value of a prop. * * @param {Vue} vm * @param {Object} prop * @return {*}
自定义模板-template/js/vue.js:6224
↓ 1 callers
Function
getWeek
(date)
interview/demo4.js:72
↓ 1 callers
Function
guardComponents
* Make sure component options get converted to actual * constructors. * * @param {Object} options
自定义模板-template/js/vue.js:1788
↓ 1 callers
Function
guardProps
* Ensure all props option syntax are normalized into the * Object-based format. * * @param {Object} options
自定义模板-template/js/vue.js:1822
↓ 1 callers
Function
hasBindAttr
* Check the presence of a bind attribute. * * @param {Node} node * @param {String} name * @return {Boolean}
自定义模板-template/js/vue.js:1193
↓ 1 callers
Function
hasOneTime
* Check if an interpolation string contains one-time tokens. * * @param {Array} tokens * @return {Boolean}
自定义模板-template/js/vue.js:7611
↓ 1 callers
Function
indexOf$1
* Native Array.indexOf uses strict equal, but in this * case we need to match string/numbers with custom equal. * * @param {Array} arr * @
自定义模板-template/js/vue.js:4964
↓ 1 callers
Function
initMixin
(Vue)
自定义模板-template/js/vue.js:2377
↓ 1 callers
Function
inlineFilters
(exp, single)
自定义模板-template/js/vue.js:886
↓ 1 callers
Function
insertParent
(parent, child)
无限级分类/classification.js:25
↓ 1 callers
Function
insertSort
(arr)
Array-sort/main.js:61
← previous
next →
101–200 of 372, ranked by callers