Skip to content

Suggestions: add response data to onSearchComplete() callback #118

@iainvdw

Description

@iainvdw

I wanted to check if the results actually contained any suggestions (.length check on array) but I found it wasn't possible.

A simple addition to the onSearchComplete callback makes it possible:

options.onSearchComplete.call(that.element, q, data);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions