mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-17 07:40:22 +00:00
docs(jqlite): add missing methods
This commit is contained in:
parent
6cbe096dbf
commit
7d0c256ecd
1 changed files with 9 additions and 1 deletions
|
|
@ -38,21 +38,29 @@
|
|||
* - [css()](http://api.jquery.com/css/)
|
||||
* - [data()](http://api.jquery.com/data/)
|
||||
* - [eq()](http://api.jquery.com/eq/)
|
||||
* - [find()](http://api.jquery.com/find/) - Limited to lookups by tag name.
|
||||
* - [hasClass()](http://api.jquery.com/hasClass/)
|
||||
* - [html()](http://api.jquery.com/html/)
|
||||
* - [next()](http://api.jquery.com/next/)
|
||||
* - [parent()](http://api.jquery.com/parent/)
|
||||
* - [prepend()](http://api.jquery.com/prepend/)
|
||||
* - [prop()](http://api.jquery.com/prop/)
|
||||
* - [ready()](http://api.jquery.com/ready/)
|
||||
* - [remove()](http://api.jquery.com/remove/)
|
||||
* - [removeAttr()](http://api.jquery.com/removeAttr/)
|
||||
* - [removeClass()](http://api.jquery.com/removeClass/)
|
||||
* - [removeData()](http://api.jquery.com/removeData/)
|
||||
* - [replaceWith()](http://api.jquery.com/replaceWith/)
|
||||
* - [text()](http://api.jquery.com/text/)
|
||||
* - [trigger()](http://api.jquery.com/trigger/)
|
||||
* - [toggleClass()](http://api.jquery.com/toggleClass/)
|
||||
* - [unbind()](http://api.jquery.com/unbind/)
|
||||
* - [val()](http://api.jquery.com/val/)
|
||||
*
|
||||
* ## In addtion to the above, Angular privides an additional method to both jQuery and jQuery lite:
|
||||
*
|
||||
* - `scope()` - retrieves the current Angular scope of the element.
|
||||
* - `inheritedData()` - same as `data()`, but walks up the DOM until a value is found or the top
|
||||
* parent element is reached.
|
||||
*
|
||||
* @param {string|DOMElement} element HTML string or DOMElement to be wrapped into jQuery.
|
||||
* @returns {Object} jQuery object.
|
||||
|
|
|
|||
Loading…
Reference in a new issue