Dom operation of Angularjs

Source: Internet
Author: User

addclass ()-Adds the specified style class name for each matching element
After ()-Inserts the content specified by the parameter after each element in the matching element collection as its sibling node
Append ()-Insert parameter contents at the end of each matching element
attr ()-Gets the value of the property that matches the first element in the collection of elements
bind ()-Binds an event handler for an element
Children ()-Get the child elements of each element in the matching element collection, selector selective filter
Clone ()-Create a copy of a matched set of elements in deep copy
contents ()-Gets the child elements of each element in the matching element collection, including the text and comment nodes
css ()-Gets the value of the style attribute that matches the first element in the element collection
data ()-store arbitrary related data on matching elements
Detach ()-Remove all matching elements from the DOM
empty ()-Removes all child nodes of a matching element in the collection from the DOM
eq ()-Reduces the set of matching elements for the specified index of which element
Find ()-by a selector, jquery object, or element filter, get the descendants of each element in the current matching element collection
hasclass ()-Determines whether any one of the matching elements has a given (style) class assigned
html ()-Gets the HTML content of the first matching element in the collection
Next ()-Gets a collection of elements that match each element in the collection of elements immediately following the sibling element. If a selector is provided, this element is returned only if the sibling element that follows it satisfies the selector
On ()-Bind one or more event handlers on the selected element
off ()-Remove an event handler function
One ()-Adds a handler function for the element's event. The handler function executes at most one time on each element of each event type
parent ()-Gets a matching element in the collection, each element of the parent element, can provide an optional selector
prepend ()-Inserts the contents of the parameter in front of each matching element (inside the element)
prop ()-Gets the property value of the first element in a matching element set
Ready ()-When the DOM is ready, specify a function to execute
Remove ()-Removes a collection of matching elements from the DOM. (also remove events and jQuery data from the element.) )
removeattr ()-Removes an attribute (attribute) for each element in the matching element collection
removeclass ()-Remove the previous, multiple, or all styles from each matching element in the collection
Removedata ()-Remove the bound data on the element
replacewith ()-Replaces all matching elements in the collection with the provided content and returns the collection of deleted elements
text ()-Gets the merged text of each element in the matching element collection, including their descendants
Toggleclass ()-Add or remove one or more style classes on each element of the matching element collection, depending on whether the style class exists or the value toggle property. That is, delete (add) A class if it exists (does not exist)
Triggerhandler ()-Execution of all handlers attached to an element for an event
unbind ()-Remove a previously attached event handler from the element
Val ()-Gets the current value of the first element in a matching element collection
Wrap ()-An HTML element on the outer package of each matching element

Dom operation of Angularjs

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.