Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Copy Control to Console
The feature is Inspired by the
Store ... as global variable
feature of the chrome dev. tools debugger.A click on the id of a control in the
Properties
tab of theControl Inspector
as well as of theElements Registry
or on the buttonCopy to console
in theAction
tab of theControl Inspector
will create a global variable starting with 'ui5$' and a number e.g. 'ui5$0' that refers to this control. All control references will be collected in the variableui5$temp
for convenience.The control is not directly assigned to the global variable but wrapped in an object showing the class of the control in the property
isA
. The actual control is in the propertycontrol
.The
savedAs
property is helpful when looking at all collected globals inui5$temp
.The feature is offered using the following interactions:
Properties
tab of theControl Inspector
Properties
tab of theElements Registry
Copy to console
in theAction
tab of theControl Inspector