1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-23 19:53:43 +00:00

search and move dropdown button

This commit is contained in:
Kyle Spearrin
2018-06-06 23:00:57 -04:00
parent ecddc1691f
commit 0fb66e247a
6 changed files with 51 additions and 31 deletions

View File

@@ -1,4 +1,8 @@
import { Component } from '@angular/core';
import {
Component,
EventEmitter,
Output,
} from '@angular/core';
import { CollectionService } from 'jslib/abstractions/collection.service';
import { FolderService } from 'jslib/abstractions/folder.service';
@@ -10,7 +14,14 @@ import { GroupingsComponent as BaseGroupingsComponent } from 'jslib/angular/comp
templateUrl: 'groupings.component.html',
})
export class GroupingsComponent extends BaseGroupingsComponent {
@Output() onSearchTextChanged = new EventEmitter<string>();
searchText: string = '';
constructor(collectionService: CollectionService, folderService: FolderService) {
super(collectionService, folderService);
}
searchTextChanged() {
this.onSearchTextChanged.emit(this.searchText);
}
}