Angular state inspector
Helps you to debug Angular component..
基本信息
- 更新日期:
- 包名:
- angular_state_inspector
- 版本:
- 1.4.6
- 大小:
- 41.45KB
- 类型:
- Firefox
- 平台:
- Firefox
- 评分:
- 发布日期:
- 2021-08-23
- 价格:
- 免费
- 开发者:
- Anton Lunev
插件更新
Version 1.4.6: - Show info message if $ctrl is not available in selected scope. - Update $state object even if it's not available. Version 1.4.5: - [ivy] Show info from ng.getComponent(). If it's null then show OwningComponent state. Version 1.4.4: - update extension logo
Angular state inspector插件截图
Angular state inspector插件简介
Helps you to debug Angular component state. Supports Angular 1/2+/Ivy/hybrid!
Angular State Inspector for Angular
Supports all versions of Angular:
– AngularJs
– Angular 2+
– Angular Ivy
– Hybrid apps (AngularJs + Angular)
Extends the Firefox Developer Tools for Angular web apps.
Adds new panel “State” to Elements tab, that displays the state of selected element.
Prints state of selected element in console by calling “$state” variable.
Depending on angular version it can show:
– Component state
– Directives
– Context, like ngForOf or ngIf values
– Event listeners
If they are applicable to the current element.
Angular State Inspector also allows you to modify the values in the “State” panel (double click on value) and from console(e.g. $state.title = ‘new value’).
To apply changes just call $apply() in console.
See all supported commands in browser console.