1.1.1 • Published 2 years ago

inputadviser v1.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

html-InputAdviser

An adviser for HTML input tag

Preview

preview

Get

1. Directly use dist/InputAdviser.js

Just load InputAdviser.js by script tag and the InputAdviser is the class object.

2. Install from npm

npm i inputadviser

Then in your javascript code

import InputAdviser from 'inputadviser'

Usage

new InputAdviser('selector of the input or the element',async word=>{
	let list=[];
	//do something to get advice list
	list=[//just values
		'abc',
		'bdc',
		'poi',
	];

	list=[//values with descriptions
		{
			value:'abc',
			desc:'this is abc',
		},
		{
			value:'bdc',
			desc:'this is bdc',
		},
		{
			value:'poi',
			desc:'this is poi',
		},
	];
	return list;
});
1.1.1

2 years ago

1.1.0

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago