Giter Club home page Giter Club logo

jquery-mentions-input's Introduction

jquery.mentionsInput

jquery.mentionsInput is a small, but awesome UI component that allows you to "@mention" someone in a text message, just like you are used to on Facebook or Twitter.

This project is written by Kenneth Auchenberg, and started as an internal project at Podio, but has then been open sourced to give it a life in the community.

Introduction

To get started -- checkout http://podio.github.com/jquery-mentions-input

Latest release

1.6.0 (2015-Jan-7) -- https://github.com/podio/jquery-mentions-input/releases/tag/1.6.0

Bugs and Enhancements (next version)

  • Fix #74 Mention on ordinary input field not textarea
  • Fix #26 Capital letter as trigger character
  • Fix #59 Unicode characters support
  • Fix #104 When same text which is to be mentioned already in the content
  • Fix #100 New option for conserve triggerChar in output

License

MIT License - http://www.opensource.org/licenses/mit-license.php

Dependencies

jquery.mentionsInput is written as a jQuery extension, so it naturally requires jQuery (1.6+). In addition to jQuery, it also depends on underscore.js (1.2+), which is used to simplify stuff a bit.

The component is also using the new HTML5 "input" event. This means older browsers like IE8 need a polyfill which emulates the event (it is bundled).

The component itself is implemented as a small independent function, so it can easily be ported to frameworks other than jQuery.

Furthermore all utility functions have been centralized in the utils-object, which can be replaced with references if you already got functions like htmlEncode, etc.

To make the component grow and shrink to fit it’s content, you can include jquery.elastic.js

Browser support

jquery.mentionsInput has been tested in Firefox 6+, Chrome 15+, and Internet Explorer 8+.

Please let us know if you see anything weird. And no, we will no make it work for older browsers. Period.

Reporting issues

Please provide jsFiddle when creating issues!

It's really saves much time.

Your feedback is very appreciated!

Roadmap

  • Fix open issues.
  • Seperate mentionsInput from jQuery, and expose as AMD/CJS module.
  • Seperate autocompleter, so it's possible to use bootstrap, jquery, etc-autocompleters
  • Define better interface to call methods.
  • Add the option to have a hidden-input that contains the syntaxed-version, so it's easier to use out of the box.
  • Add unit tests!
  • Add mobile support

jquery-mentions-input's People

Contributors

auchenberg avatar cfletcher1856 avatar djhvscf avatar gil avatar ianlyons avatar joehoyle avatar johnthepink avatar nixoz2k7 avatar raven24 avatar stewartpark avatar stilist avatar

Watchers

 avatar  avatar  avatar

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.