You can invoke this method to load data when data is empty. It wouldn't reload data if they are already exists.
data
at
$inputor.atwho('load', '@', [{name: 'one'}, {nick: 'two'}]);
Run it!
empty
$.getJSON(url, params, function(data) { $inputor.atwho('load',':', data).atwho('run'); });
destroy it.
$inputor.atwho('destroy');
To set iframe element which the text field belongs to.
$textField.atwho('setIframe', iframe); $textField.atwho({at: '@', data: ['Peter', 'Anne']});
Check if the dropdown menu is showing, which means there is a suggestions for you. Examine the example in examples/tinyMCE.html to see how to use it.
examples/tinyMCE.html
true | false
$inputor.atwho('isSelecting');
hide the view
$inputor.atwho('hide');
There was an error while loading. Please reload this page.