mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-28 12:30:21 +08:00
jquery: parseHTML(...) added. #421
This commit is contained in:
1 parent
8737e06d9e
commit
b6e21d422e
2 files changed
+31
No files matched your search
Vendored
+9
@@ -353,6 +353,15 @@ interface JQueryStatic {
|
||||
type(obj: any): string;
|
||||
|
||||
unique(arr: any[]): any[];
|
||||
|
||||
/**
|
||||
* Parses a string into an array of DOM nodes.
|
||||
*
|
||||
* @param data HTML string to be parsed
|
||||
* @param context DOM element to serve as the context in which the HTML fragment will be created
|
||||
* @param keepScripts A Boolean indicating whether to include scripts passed in the HTML string
|
||||
*/
|
||||
parseHTML(data: string, context?: HTMLElement, keepScripts?: bool): any[];
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in new issue
Block a user