
Angular state inspector
扩展Chrome开发者工具,轻松查看和修改Angular应用的状态,快速提高开发效率!
更新日期:2021 年 8 月 23 日分类标签:开发者利器平台:没限制
36.35KiB 30000 人已下载"> 手机查看
Angular state inspector 插件安装教程:
扩展迷 | chrome插件下载与安装教程(图文讲解,全网最详细)
Angular state inspector 插件简介:
Angular State Inspector for Angular
Supports all versions of Angular:
– AngularJs
– Angular 2+
– Angular Ivy
– Hybrid apps (AngularJs + Angular)
Extends the Chrome 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 chrome console.
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
Version 1.4.3:
– Return result emoji on `$apply()` call
Version 1.4.2:
– Fixed props editing and change detection
Version 1.4.1:
– Print always up to date state in console
Version 1.4:
– Full support angular 9 Ivy api
Version 1.3:
– Added experimental support of Ivy
– Added shortcuts that you can use in console
Angular state inspector 插件ID:
nelkodgfpddgpdbcjinaaalphkfffbem
Angular state inspector 插件最新版本:
1.4.6