Fast inspection of object data attached to an element
Reported by
moni...@gmail.com,
Dec 20 2016
|
|||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36 Steps to reproduce the problem: With modern frameworks (such as Angular 2) attaching data objects to element attributes, such as: - `ng-reflect-ng-class="[Object object]"` or - `ng-reflect-items="[Object object], [Object object], [Object object]"` (that one being reflection of a custom @Input()) it'd be more than desireable to be able to quickly inspect the real content of these objects. What is the expected behavior? Why don't we have a hover command like "Dump to console" when over an object-tagged attribute. Or a simple popover. Or both. What went wrong? (feature request) Did this work before? N/A Chrome version: 54.0.2840.98 Channel: n/a OS Version: OS X 10.11.6 Flash Version: Shockwave Flash 24.0 r0
,
Jan 10 2017
,
Dec 5 2017
You can select the element in the elements panel and refer to it in the DevTools console as "$0". This should be enough to do any inspection. |
|||
►
Sign in to add a comment |
|||
Comment 1 by sureshkumari@chromium.org
, Dec 21 2016Status: Untriaged (was: Unconfirmed)