ment.io

Mentions and Macros for Angular

  • 所有者: jeff-collins/ment.io
  • 平台:
  • 许可证: MIT License
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

ment.io

Build Status
Coverage Status

@mentions and macros widget based on AngularJS, but with no dependencies on jQuery.

To get started, add the following to your Controller to set up a scope variable called people:

$scope.people = [
    { label: 'Joe'},
    { label: 'Mike'},
    { label: 'Diane'}
]

Then add this to your html:

<input type="text" mentio 
 mentio-typed-text="typedTerm" 
 mentio-items="people, filter:label:typedTerm" 
 ng-model="myval"/>

Now you can type @ into your text field, and see a menu of choices.

There are many other options, including the ability to have multiple trigger characters, templates, binding your menu to an API, converting the selected item to markup, and more.

See the Ment.io Page for a demo and more detailed documentation.

主要指标

概览
名称与所有者jeff-collins/ment.io
主编程语言JavaScript
编程语言JavaScript (语言数: 3)
平台
许可证MIT License
所有者活动
创建于2014-06-17 03:54:17
推送于2022-12-11 09:50:29
最后一次提交2019-10-17 17:29:27
发布数18
最新版本名称0.9.24 (发布于 )
第一版名称v0.9.6 (发布于 )
用户参与
星数1.1k
关注者数38
派生数219
提交数161
已启用问题?
问题数146
打开的问题数95
拉请求数26
打开的拉请求数43
关闭的拉请求数22
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?