ment.io

Mentions and Macros for Angular

  • Owner: jeff-collins/ment.io
  • Platform:
  • License:: MIT License
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

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.

Main metrics

Overview
Name With Ownerjeff-collins/ment.io
Primary LanguageJavaScript
Program languageJavaScript (Language Count: 3)
Platform
License:MIT License
所有者活动
Created At2014-06-17 03:54:17
Pushed At2022-12-11 09:50:29
Last Commit At2019-10-17 17:29:27
Release Count18
Last Release Name0.9.24 (Posted on )
First Release Namev0.9.6 (Posted on )
用户参与
Stargazers Count1.1k
Watchers Count38
Fork Count219
Commits Count161
Has Issues Enabled
Issues Count146
Issue Open Count95
Pull Requests Count26
Pull Requests Open Count43
Pull Requests Close Count22
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private