build: xhr implementation and mobile optimizations
This commit is contained in:
8
dist/example.html
vendored
8
dist/example.html
vendored
@@ -48,10 +48,10 @@
|
||||
<div id="wrapper">
|
||||
<h1>🚀 <em>simplecomplete</em> becomes a <u>simple👌</u> yet <u>powerful 💪</u> and <u>versatile 🦄</u> js library for search elements</h1>
|
||||
<h2>Just a search... but cool.</h2>
|
||||
<input type="text" data-sc="http://google.de" placeholder="" />
|
||||
<input type="text" data-sc="https://gorest.co.in/public/v1/users" data-param="name" />
|
||||
|
||||
<h2>I just found out i don't know shit about animes</h2>
|
||||
<select data-sc="http">
|
||||
<h2>A fake User Search just add the endpoint and the param name</h2>
|
||||
<select data-sc="https://gorest.co.in/public/v1/users" data-param="name">
|
||||
<option value="ajin" selected>Ajin</option>
|
||||
<option value="slump">Dr. Slump</option>
|
||||
<option value="chobits">Chobits</option>
|
||||
@@ -65,7 +65,7 @@
|
||||
</select>
|
||||
|
||||
<h2>Hello World...</h2>
|
||||
<select multiple="true" id="multiple-select" data-sc>
|
||||
<select multiple="true" id="multiple-select" data-sc="https://gorest.co.in/public/v1/users" data-param="name">
|
||||
<option>Option A</option>
|
||||
<option selected>Option B</option>
|
||||
<option selected>Option C</option>
|
||||
|
||||
Reference in New Issue
Block a user