Share via


AutoSuggestBox.createResultSuggestionImage method

Creates the image argument for appending result suggestions when handling the onsuggestionsrequested event.

Syntax

autoSuggestBox.createResultSuggestionImage(url);

Parameters

  • url
    Type: String

    The URL of the image.

Return value

Required image argument for the SearchSuggestionCollection.appendResultSuggestion method.

Requirements

Minimum WinJS version

WinJS 4.0

Namespace

WinJS.UI

See also

AutoSuggestBox