最新下载
梦幻水族馆
少女前线
星之翼
小花仙精灵乐园
餐厅萌物语
山河旅探
恋与制作人
最强大脑3
异尘:达米拉
少年西游记2
24小时阅读排行榜
- 1 Passing Data to EJS Templates and Vice-Versa — A Beginner&#s guide
- 2 React.js Lazy Loading: EXPLAINED
- 3 Logging in Golang
- 4 Glam Up My Markup: Solar System
- 5 AAVE Maintains Its DeFi Leadership as DTX Exchange Gains Momentum, Targeting Cardano (ADA) by Mid-2025
- 6 Longest Subarray With Maximum Bitwise AND
- 7 et’s go. And I think that we needed to remember that it’s notoutput: title: COIN's Chase Lawrence and Ryan Winnen Sit Down with Atwood Magazine for a Candid, Decade-Spanning Conversation about Chasing
- 8 Building Your Own GitHub Copilot: A Step-by-Step Guide to Code Completion Tools
- 9 Try natural language data analysis with Streamlit in Snowflake (SiS)
- 10 Try natural language data analysis with Streamlit in Snowflake (SiS)
- 11 NBA 2K25 shooting guard build
- 12 I made a token count check app using Streamlit in Snowflake (SiS)
- 13 Bitcoin Continues to Soar, Capturing the Spotlight with Its Impressive Gains. Yet, Beneath the Buzz, Three Lesser-Known Cryptocurrencies Are Quietly Gaining Traction
- 14 The Dark Knight rises again as a custom PC build
- 15 SEC Adjusts Its Approach in Binance Case, But ADA and SOL Remain Bearish
最新教程
-
- 国外Web开发全栈课程全集
- 1333 2024-04-24
-
- Go语言实战之 GraphQL
- 1621 2024-04-19
-
- 550W粉丝大佬手把手从零学JavaScript
- 3041 2024-04-18
-
- python大神Mosh,零基础小白6小时完全入门
- 2559 2024-04-10
-
- MySQL 初学入门(mosh老师)
- 1514 2024-04-07
-
- Mock.js | Axios.js | Json | Ajax--十天精品课堂
- 2367 2024-03-29
如今从事前端开发,大行其道的MVVM框架,决计是绕不过去的存在。那么以下是三大流行框架 Devtools,如需自取。Vue.js devtools、AngularJS BatarangReact 、Developer Tools。本文主要介绍的就是AngularJS Batarang
AngularJS Batarang插件使用方法
AngularJS Batarang插件离线安装的方法参照一下方法:老版本chrome浏览器,首先在标签页输入【chrome://extensions/】进入chrome扩展程序,解压你在本站下载的插件,并拖入扩展程序页即可。
2.最新版本的chrome浏览器直接拖放安装时会出现“程序包无效CRX-HEADER-INVALID”的报错信息,请百度参照:Chrome插件安装时出现"CRX-HEADER-INVALID"解决方法,安装好后即可使用。
3.安装完毕后图标会出现在插件栏里。
4.在chrome浏览器中打开一个Angular应用,并打开控制台,如下图,会发现控制台中多了一个AngularJS的页面,勾选“Enable”,该控件就可以使用了。
5.点开Models,如下图,左侧是该应用下的所有Scope的信息,右侧是Scope对应的模型信息。点击某个作用域,右侧相应的会显示出该作用域中的所有模型信息。 点击Scope前的”<”,会跳到Elements中该作用域所在的DOM标签上。
6.Performace展示的是该应用的性能,左侧显示的是监控树,点击树的节点,跳转至相应的element元素上。右侧显示的是监控表达式的性能,这个页面能帮助我们进行性能优化。
7.Dependenices展示的指令和服务之间的依赖关系,选定某个指令,可以看到其依赖的服务。通过图表把服务之间的依赖关系可视化,红线代表依赖
8.最后是options页面。有三个选项:”show applications,” “show scopes,” 和 “show bindings.”。每个选项勾选时,在debugger时,相应的内容会在页面高亮。
9.如有任何问题,请查看help
10.在Element标签中选定某个标签时,Element页面的右侧的内容,会多一个AngularJS Properties页面,该页面显示的是选定的html内容的作用域的属性,该功能对于对Angular Scope的理解非常有用。如果不是很理解Angular Scope,可以多用一个这个功能。