How to use the corejs-typeahead/dist/bloodhound.tokenizers function in corejs-typeahead

To help you get started, we’ve selected a few corejs-typeahead examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github prymitive / karma / assets / static / autocomplete.js View on Github external
function init() {
    autocomplete = new Bloodhound({
        datumTokenizer: Bloodhound.tokenizers.whitespace,
        queryTokenizer: Bloodhound.tokenizers.whitespace,
        remote: {
            url: "autocomplete.json?term=%QUERY",
            wildcard: "%QUERY",
            rateLimitBy: "throttle",
            rateLimitWait: 300
        },
        sufficient: 12
    });
}
github prymitive / karma / assets / static / autocomplete.js View on Github external
function init() {
    autocomplete = new Bloodhound({
        datumTokenizer: Bloodhound.tokenizers.whitespace,
        queryTokenizer: Bloodhound.tokenizers.whitespace,
        remote: {
            url: "autocomplete.json?term=%QUERY",
            wildcard: "%QUERY",
            rateLimitBy: "throttle",
            rateLimitWait: 300
        },
        sufficient: 12
    });
}

corejs-typeahead

fast and fully-featured autocomplete library

MIT
Latest version published 6 months ago

Package Health Score

72 / 100
Full package analysis