sergeyt / meteor-typeahead

Autocomplete package for meteor powered by twitter typeahead.js
https://atmospherejs.com/sergeyt/typeahead
MIT License
146 stars 82 forks source link

Destroy #131

Open iSuslov opened 9 years ago

iSuslov commented 9 years ago

How can we destroy this component?

willwebberley commented 8 years ago

Hi @iSuslov ,

Looking at Twitter's documentation, you should be able to destroy it using the JQuery selector:

$('.typeahead').typeahead('destroy');
sergeyt commented 8 years ago

This is missing function. The destroy function should also stop Tracker computation. PR is welcome.