在消息中实现类似于 非死book 或 推ter 中的@某人

13年前
@Mention Someone in Messages like 非死book or 推ter。

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 非死book or 推ter. 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.

jquery.mentionsInput has been tested in Firefox 6+, Chrome 15+, and Internet Explorer 8+. jquery.mentionsInput is written as a jQuery extension, so it naturally requires jQuery. In addition to jQuery, it also depends on underscore.js, which is used to simplify stuff a bit. The component is also using the new HTML5 “input” event.

jquery-mentions

Requirements: jQuery Framework
Demo: http://podio.github.com/jquery-mentions-input/
License: MIT License