On Jun 2, 4:52 pm, Garrett Smith <[email protected]> wrote:
> On 6/2/10, Jaime Bueza <[email protected]> wrote:
>
> The context of your reply to was lost by top-replying.
>
> > For clarification, if you wanted to add a property to an object, you
> > can simply do this by using the console instead of exploring through
> > the DOM view.
>
> > myObject.newProperty = newValue;
>
> The problem with that is it is inconvenient. The DOM tab is there with
> the element already loaded, whereas the console you'd need to get a
> handle on that object (such as using document.evaluate or
> document.querySelectorAll).
>
> > Currently, a user is only able to introspect objects and when you
> > right-click, the only menu item in the Context Menu is "Refresh". I
> > believe that Garret wanted to see an "Add Property" menu item in this
> > context menu.
>
> That was one proposal. The other idea is to have a blank property
> field at the end of the list where you can type a property and value
> into, a la MSIE developer toolbar.

Can you point me to a picture of what you are suggesting?

One solution would put an editor on the path (bread crumb):
window > document > activeElement [editor]
then if you type "= foo" in the editor,then value is changed; if you
type ".foo=bar", you add a property.

-- 
You received this message because you are subscribed to the Google Groups 
"Firebug" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/firebug?hl=en.

Reply via email to