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?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?