Vue源码
2016-08-17 16:12:30   0  举报             
     
         
 Vue1.x源代码流程图
    作者其他创作
 大纲/内容
 compileElement
  new Watcher()
  rootLinkFn
  directive.update()
  return
  this._directives._bind()
  Object.defineProperty
  childLinkFn
  textNodeLinkFn
  compileTextNode
  this._directives.push(      new Directive())
  checkElementDirectives
  directive.bind()
  checkComponent
  NodeLinkFunction
  componentLinkFn
  nodeLinkFn
  terminalNodeLinkFn
  child
  checkTerminalDirectives(for & if)
  for
  contentLinkFn(compositeLinkFn)
  this.$mount(el)
  compileRoot
  compileDirectives(normal directives)
  vm._bindDirective
  dep.notify()
  compileNodeList
  linkAndCapture
  compileNode
   
 
 
 
 
  0 条评论
 下一页
  
   
   
  
  
  
  
  
  
  
  
 