mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-08 08:04:19 +08:00
Merge pull request #2852 from pine613/feature/zepto/appendTo
Added appendTo overload
This commit is contained in:
5
zepto/zepto.d.ts
vendored
5
zepto/zepto.d.ts
vendored
@@ -493,6 +493,11 @@ interface ZeptoCollection {
|
||||
**/
|
||||
appendTo(target: HTMLElement[]): ZeptoCollection;
|
||||
|
||||
/**
|
||||
* @see ZeptoCollection.appendTo
|
||||
**/
|
||||
appendTo(target: ZeptoCollection): ZeptoCollection;
|
||||
|
||||
/**
|
||||
* Read or set DOM attributes. When no value is given, reads specified attribute from the first element in the collection. When value is given, sets the attribute to that value on each element in the collection. When value is null, the attribute is removed (like with removeAttr). Multiple attributes can be set by passing an object with name-value pairs.
|
||||
* To read DOM properties such as checked or selected, use prop.
|
||||
|
||||
Reference in New Issue
Block a user