angular2-mentions
Advanced tools
Comparing version 0.7.1 to 0.7.2
@@ -102,3 +102,3 @@ "use strict"; | ||
styles: ["\n .scrollable-menu {\n display: block;\n height: auto;\n max-height: 300px;\n overflow: auto;\n }\n ", "\n [hidden] {\n display: none;\n }\n ", "\n li.active {\n background-color: #f7f7f9;\n }\n "], | ||
template: "\n <ng-template #defaultItemTemplate let-item=\"item\">\n {{item[labelKey]}}\n </ng-template>\n <ul #list [hidden]=\"hidden\" class=\"dropdown-menu scrollable-menu\">\n <li *ngFor=\"let item of items; let i = index\" [class.active]=\"activeIndex==i\">\n <a class=\"dropdown-item\" (mousedown)=\"activeIndex=i;itemClick.emit();$event.preventDefault()\">\n <ng-template [ngTemplateOutlet]=\"itemTemplate\" [ngOutletContext]=\"{'item':item}\"></ng-template>\n </a>\n </li>\n </ul>\n " | ||
template: "\n <ng-template #defaultItemTemplate let-item=\"item\">\n {{item[labelKey]}}\n </ng-template>\n <ul #list [hidden]=\"hidden\" class=\"dropdown-menu scrollable-menu\">\n <li *ngFor=\"let item of items; let i = index\" [class.active]=\"activeIndex==i\">\n <a class=\"dropdown-item\" (mousedown)=\"activeIndex=i;itemClick.emit();$event.preventDefault()\">\n <ng-template [ngTemplateOutlet]=\"itemTemplate\" [ngTemplateOutletContext]=\"{'item':item}\"></ng-template>\n </a>\n </li>\n </ul>\n " | ||
},] }, | ||
@@ -105,0 +105,0 @@ ]; |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":3,"metadata":{"MentionListComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"mention-list","styles":["\n .scrollable-menu {\n display: block;\n height: auto;\n max-height: 300px;\n overflow: auto;\n }\n ","\n [hidden] {\n display: none;\n }\n ","\n li.active {\n background-color: #f7f7f9;\n }\n "],"template":"\n <ng-template #defaultItemTemplate let-item=\"item\">\n {{item[labelKey]}}\n </ng-template>\n <ul #list [hidden]=\"hidden\" class=\"dropdown-menu scrollable-menu\">\n <li *ngFor=\"let item of items; let i = index\" [class.active]=\"activeIndex==i\">\n <a class=\"dropdown-item\" (mousedown)=\"activeIndex=i;itemClick.emit();$event.preventDefault()\">\n <ng-template [ngTemplateOutlet]=\"itemTemplate\" [ngOutletContext]=\"{'item':item}\"></ng-template>\n </a>\n </li>\n </ul>\n "}]}],"members":{"labelKey":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"itemTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"itemClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"list":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild"},"arguments":["list"]}]}],"defaultItemTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild"},"arguments":["defaultItemTemplate"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"}]}],"ngOnInit":[{"__symbolic":"method"}],"position":[{"__symbolic":"method"}],"activateNextItem":[{"__symbolic":"method"}],"activatePreviousItem":[{"__symbolic":"method"}],"resetScroll":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"MentionListComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"mention-list","styles":["\n .scrollable-menu {\n display: block;\n height: auto;\n max-height: 300px;\n overflow: auto;\n }\n ","\n [hidden] {\n display: none;\n }\n ","\n li.active {\n background-color: #f7f7f9;\n }\n "],"template":"\n <ng-template #defaultItemTemplate let-item=\"item\">\n {{item[labelKey]}}\n </ng-template>\n <ul #list [hidden]=\"hidden\" class=\"dropdown-menu scrollable-menu\">\n <li *ngFor=\"let item of items; let i = index\" [class.active]=\"activeIndex==i\">\n <a class=\"dropdown-item\" (mousedown)=\"activeIndex=i;itemClick.emit();$event.preventDefault()\">\n <ng-template [ngTemplateOutlet]=\"itemTemplate\" [ngOutletContext]=\"{'item':item}\"></ng-template>\n </a>\n </li>\n </ul>\n "}]}],"members":{"labelKey":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"itemTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"itemClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"list":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild"},"arguments":["list"]}]}],"defaultItemTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild"},"arguments":["defaultItemTemplate"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"}]}],"ngOnInit":[{"__symbolic":"method"}],"position":[{"__symbolic":"method"}],"activateNextItem":[{"__symbolic":"method"}],"activatePreviousItem":[{"__symbolic":"method"}],"resetScroll":[{"__symbolic":"method"}]}}}}] | ||
[{"__symbolic":"module","version":3,"metadata":{"MentionListComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"mention-list","styles":["\n .scrollable-menu {\n display: block;\n height: auto;\n max-height: 300px;\n overflow: auto;\n }\n ","\n [hidden] {\n display: none;\n }\n ","\n li.active {\n background-color: #f7f7f9;\n }\n "],"template":"\n <ng-template #defaultItemTemplate let-item=\"item\">\n {{item[labelKey]}}\n </ng-template>\n <ul #list [hidden]=\"hidden\" class=\"dropdown-menu scrollable-menu\">\n <li *ngFor=\"let item of items; let i = index\" [class.active]=\"activeIndex==i\">\n <a class=\"dropdown-item\" (mousedown)=\"activeIndex=i;itemClick.emit();$event.preventDefault()\">\n <ng-template [ngTemplateOutlet]=\"itemTemplate\" [ngTemplateOutletContext]=\"{'item':item}\"></ng-template>\n </a>\n </li>\n </ul>\n "}]}],"members":{"labelKey":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"itemTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"itemClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"list":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild"},"arguments":["list"]}]}],"defaultItemTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild"},"arguments":["defaultItemTemplate"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"}]}],"ngOnInit":[{"__symbolic":"method"}],"position":[{"__symbolic":"method"}],"activateNextItem":[{"__symbolic":"method"}],"activatePreviousItem":[{"__symbolic":"method"}],"resetScroll":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"MentionListComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"mention-list","styles":["\n .scrollable-menu {\n display: block;\n height: auto;\n max-height: 300px;\n overflow: auto;\n }\n ","\n [hidden] {\n display: none;\n }\n ","\n li.active {\n background-color: #f7f7f9;\n }\n "],"template":"\n <ng-template #defaultItemTemplate let-item=\"item\">\n {{item[labelKey]}}\n </ng-template>\n <ul #list [hidden]=\"hidden\" class=\"dropdown-menu scrollable-menu\">\n <li *ngFor=\"let item of items; let i = index\" [class.active]=\"activeIndex==i\">\n <a class=\"dropdown-item\" (mousedown)=\"activeIndex=i;itemClick.emit();$event.preventDefault()\">\n <ng-template [ngTemplateOutlet]=\"itemTemplate\" [ngTemplateOutletContext]=\"{'item':item}\"></ng-template>\n </a>\n </li>\n </ul>\n "}]}],"members":{"labelKey":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"itemTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"itemClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"list":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild"},"arguments":["list"]}]}],"defaultItemTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild"},"arguments":["defaultItemTemplate"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"}]}],"ngOnInit":[{"__symbolic":"method"}],"position":[{"__symbolic":"method"}],"activateNextItem":[{"__symbolic":"method"}],"activatePreviousItem":[{"__symbolic":"method"}],"resetScroll":[{"__symbolic":"method"}]}}}}] |
{ | ||
"name": "angular2-mentions", | ||
"version": "0.7.1", | ||
"version": "0.7.2", | ||
"description": "Angular 2 mentions for text fields.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
52157