[Search] Search menu

Creating a search menu which will allow for
more specific search options.
So far have started top-down with styling.
In progress.
This commit is contained in:
slhale
2015-08-12 16:13:36 -07:00
parent 41ddb76385
commit edf52f32ad
4 changed files with 183 additions and 25 deletions

View File

@@ -45,6 +45,24 @@
x
</a>
<!-- Menu icon/button 'v' -->
<!-- Look at context menu for opening and dismissing -->
<a class="ui-symbol menu-icon"
ng-click="controller.menu()">
v
</a>
<!-- Later make the menu into different files -->
<div class="menu-element search-menu-holder">
<div class="menu dropdown search-menu">
<ul>
<li>Contents 1</li>
<li>Contents 2</li>
<li>Contents 3</li>
</ul>
</div>
</div>
</div>
<!-- This div exists to determine scroll bar location -->

View File

@@ -124,8 +124,17 @@ define(function () {
* Clears the input text.
*/
clear: function () {
// Clear input field
$scope.ngModel.input = '';
$scope.ngModel.search = false;
// Call search to clear the results list too
search();
},
/**
* Opens a menu for more search options.
*/
menu: function () {
console.log('open menu');
}
};
}