DevTools/Features/EasyAttributeEditing: Difference between revisions

Jump to navigation Jump to search
no edit summary
(Created page with "{{FeatureStatus |Feature name=Easy Attribute Editing |Feature stage=Design |Feature health=OK }} {{FeatureTeam |Feature product manager=Kevin Dangoor |Feature feature manager=Kev...")
 
No edit summary
Line 16: Line 16:
==== Set an ID on an element ====
==== Set an ID on an element ====


JavaScript developers often have collections of functions built up that are designed to take elements or element IDs. By being able to quickly set an ID on an element, these developers will have a handle they can pass into their functions.  
JavaScript developers often have collections of functions built up that are designed to take elements or element IDs. By being able to quickly set an ID on an element, these developers will have a handle they can pass into their functions.
|Feature requirements=# Easily toggle classes or add classes to an element
|Feature requirements=# Easily toggle classes or add classes to an element
# Add an ID to the element
# Add an ID to the element
Line 26: Line 26:
# Be able to change the element's tag
# Be able to change the element's tag
|Feature non-goals=This feature is not concerned with making structural changes to the document.
|Feature non-goals=This feature is not concerned with making structural changes to the document.
|Feature ux design=Some discussion of [http://groups.google.com/group/mozilla.dev.apps.firefox/browse_thread/thread/54353f20e1af8c17# putting this functionality in the Infobar] occurred on dev-apps-firefox. [[DevTools/Features/RichInfobar]] was created along those lines, but broken up and replaced by this page and [[DevTools/Features/PseudoClassLock]].
}}
}}
{{FeatureInfo
{{FeatureInfo
canmove, Confirmed users, Bureaucrats and Sysops emeriti
1,093

edits

Navigation menu