73
edits
| Line 140: | Line 140: | ||
Specifies the type of remote data to retrieve. (same as <code>[http://api.jquery.com/jQuery.ajax/ jQuery.ajax()]</code>'s <code>dataType</code> option). If <code>"json"</code> is passed, the parser switches to JSON mode. | Specifies the type of remote data to retrieve. (same as <code>[http://api.jquery.com/jQuery.ajax/ jQuery.ajax()]</code>'s <code>dataType</code> option). If <code>"json"</code> is passed, the parser switches to JSON mode. | ||
==== url ==== | ==== url / postData ==== | ||
Alternative | Alternative URL and/or POST Data used in case the preview uses a different service or API than the execute function. i.e.: "http://ajax.googleapis.com/ajax/services/search/web?v=1.0&q={QUERY}" | ||
==== container ==== | ==== container ==== | ||
| Line 171: | Line 171: | ||
==== baseUrl ==== | ==== baseUrl ==== | ||
String used as base URL if [[#href]] and/or [[#thumbnail]]'s src is found to be relative. If not provided, [[#url]] will be used instead. | String used as base URL if [[#href]] and/or [[#thumbnail]]'s src is found to be relative. If not provided, [[#url]] will be used instead. | ||
==== plain ==== | |||
Array of strings naming selector properties (<code>"title", "body", "href", "thumbnail"</code>) that should be treated as plain text. | |||
==== log ==== | |||
Function to which the command logs the reponse data and parsed results. | |||
=== Other === | === Other === | ||
edits