Constructor
new ve.ScriptManager.FindAndReplace()
Methods
draw(arg0_element, arg1_new_results, arg2_reset)
Draws the container or appends results.
- Method of: ve.ScriptManager.FindAndReplace
Parameters:
| Name | Type | Description |
|---|---|---|
arg0_element |
HTMLElement
|
The container element. |
arg1_new_results |
Array
|
Array of new matches to append. |
arg2_reset |
Boolean
|
If true, clears the list and redraws the container structure. |
(async) execute(arg0_root_path, arg1_search_string, arg2_replace_string, arg3_optionsopt, arg4_callbacksopt)
Async execution of Find (and optionally Replace All). Streaming results are returned via callbacks.
- Method of: ve.ScriptManager.FindAndReplace
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
arg0_root_path |
string
|
||
arg1_search_string |
string
|
||
arg2_replace_string |
string
|
||
arg3_options |
Object
|
<optional> |
|
arg4_callbacks |
Object
|
<optional> |
Callback object/map. |