Skip to content

jarkkopie/ment.io

This branch is 2 commits ahead of, 6 commits behind jeff-collins/ment.io:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

722f116 · Jan 18, 2017
Jan 18, 2017
Jan 18, 2017
Sep 22, 2015
Feb 2, 2015
Jun 18, 2014
Jun 24, 2014
Dec 21, 2014
Jul 1, 2014
Jun 17, 2014
Jul 16, 2014
Jun 23, 2014
Dec 14, 2014
Sep 22, 2015
Dec 21, 2014
Jul 16, 2014
Sep 22, 2015

Repository files navigation

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.

About

Mentions and Macros for Angular

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 75.4%
  • HTML 23.2%
  • CSS 1.4%