Socket
Book a DemoInstallSign in
Socket

@codemotion/angular-mention

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codemotion/angular-mention

Mentions for Angular

latest
Source
npmnpm
Version
0.9.24
Version published
Maintainers
1
Created
Source

angular-mention

Build Status Coverage Status

@mentions and macros widget based on AngularJS.

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"
    data-mentio
    data-mentio-typed-text="typedTerm"
    data-mentio-items="people | filter:label:typedTerm"
    data-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.

Keywords

angular

FAQs

Package last updated on 24 Sep 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.