13 787
правок
Изменения
м
Нет описания правки
<source lang="javascript">
var hint = new SimpleAutocomplete(input, dataLoader, multipleDelimiter, onChangeListener, maxHeight, emptyText, allowHTML);
</source>
; maxHeight: Maximum hint dropdown height in pixels
; emptyText: Text to show when dataLoader returns no options. If emptyText === false, the hint will be hidden instead of showing text.
; allowHTML: If true, HTML code will be allowed in option names.
Demo: