Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

ontab

mucbuc11GNU0.0.0

auto complete logic

readme

ontab

auto complete logic

usage

var ot = new OnTab( function( value ) {
      console.log( value ); 
    } );

ot.context = [ 'apple', 'hello', 'ass' ]; 
ot.autoComplete( 'a' ); 
ot.autoComplete( 'a' );

printout:

apple
ass