Code Monkey home page Code Monkey logo

searchbox.jsx's Introduction

Nothing to see yet.

searchbox.jsx's People

Contributors

roshanvid avatar

Watchers

 avatar  avatar  avatar

searchbox.jsx's Issues

Faded text + tab complete.

We want to support faded text in the search bar, as well as the ability for the user to hit tab to autocomplete.

The user datasets can have a function available to them that lets them set the faded text that is displayed on the search bar. It might be tricky to handle the fact that the faded text should absolutely be a continuation of what the user typed in (ex: ap could have a faded apple, but not a faded xanthibar). So it might make more sense to have the search input call some registered function on the user dataset... Worth discussing whenever this is picked up.

Make the dropdown a real dropdown.

Currently it's just a simple div but we'll want to make it a real dropdown like typeahead.js. We can absolutely position it relative to the search input with JQuery UI (which is already pulled in for us by playground.htm). We'll want this to be overridable in case the user wants to customize how it's mounted.

It is also going to be desirable to hide and show the dropdown dynamically as the results change (don't want it to show when there's no results for example). This will require more cooperation from the user's dataset components though so we should punt that for the moment.

Add support for highlighting.

The user can highlight things by using the keyboard or hovering over things with their mouse. Therefore cooperation among all the components is necessary. Which is annoying. I think we came up with some good ideas for this though.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.