Javascript Object Method Properties console.log View all methods and properties of the object
2016-11-14 01:22
621 查看
最近在使用angular.js + zepto 时 时需要用到 zepto 对象的一些方法,使用angular.element()可将angular对象转为jq 对象,但对zepto 无效 在angular ng-click 方法中 传递 $event 对象使用 $event.target可得到 angular 对象,在不清楚其属性方法时进行console.log打印,打印信息如下
若为function 则.functionName() 调用即可,属性 .attrName 即可,proto 为原型链继承属性,最终的proto指向 object
相关文章推荐
- The usage of the Javascript method call and apply(what is the new and object.create difference.)(What does call(null) mean?)
- javascript---the advantage of accessing the properties of object as array(objects as associative arrays)
- How to invoke the method of managed bean and render view in JSF when we are outside the lifecycle of JSF
- How to list the properties of a JavaScript object
- [JavaScript] Access the properties of an object
- 使用JavaScript展开/折叠TreeView中所有节点(Expand and Collapse All Nodes of asp.net Treeview on the client with javascript)
- Please remove your implementation of this method and set the cell properties accessoryType and/or e
- How to access the properties of an object in Javascript
- 【原】用使用JavaScript展开/折叠TreeView中所有节点(Expand and Collapse All Nodes of asp.net Treeview on the client with javascript)
- The Boolean object's properties and methods
- 异常A WebView method was called on thread 'JavaBridge'. All WebView methods must be called on the same
- Discover the difference among Types: is operator,typeof keyword and GetType method
- C++ for Artists: The Art, Philosophy, and Science of Object-Oriented Programming
- Prototype and Scriptaculous: Taking the Pain out of JavaScript
- This list contains all of the known Microsoft Knowledge Base articles, howtos, fixes, hotfixes, webcasts and updates of Microsof
- [JavaScript]让footer总是停留在页面的底部(footer all the way at the bottom of the page)
- Microsoft.XMLDOM(XMLDOM)对象的属性和方法(Methods and properties of Microsoft.XMLDOM)
- The Realization of Linked Select by JavaScript and XML
- Testing and the Role of ALL MEMBER
- The Essence of Object-Oriented Programming with Java and UML