New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

angular2-mentions

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular2-mentions - npm Package Compare versions

Comparing version

to
0.4.1

src/mention/caret-coords.ts

5

package.json
{
"name": "angular2-mentions",
"version": "0.4.0",
"version": "0.4.1",
"description": "Angular 2 mentions for text fields.",

@@ -10,2 +10,3 @@ "keywords": [

],
"main": "src/mention/index.ts",
"repository": {

@@ -59,4 +60,4 @@ "type": "git",

"files": [
"mention"
"src/mention"
]
}

19

README.md

@@ -13,3 +13,3 @@ # Angular 2 Mentions

git clone https://github.com/dmacfarlane/angular2-mentions.git
cd ng2-mentions
cd angular2-mentions
npm install

@@ -22,3 +22,3 @@ ng serve

npm install --save ng2-mentions
npm install --save angular2-mentions

@@ -31,3 +31,3 @@ Add the CSS to your index.html:

import { MentionModule } from 'ng2-mentions/mention/mention.module';
import { MentionModule } from 'angular2-mentions';

@@ -47,9 +47,10 @@ @NgModule({

#### Options
- `[triggerChar]="@"` to specify the trigger char
#### TODO:
- Remove debug (always)
- Improve NPM package structure
- Document configurable prefix
- Configurable limit on number of items shown via config
- Load items via http (config number of chars before search)
- Styled menu items
- Improve menu positioning
- Configurable limit on number of items shown
- Load items via http service (configureable number of chars before search, and debounce requests)