sort panel documentation

This commit is contained in:
Rashid Khan 2013-04-19 21:21:25 -07:00
parent 5e297222b0
commit db524af6b2
2 changed files with 44 additions and 0 deletions

View File

@ -1,3 +1,25 @@
/*
## Sort
This will probably be removed in the near future since it only interacts with
the table panel and the table panel already implements all of its functionality.
It only interacts with the table panel in any case
### Parameters
* label :: The label to stick over the drop down
* sort :: An array where the first elemetn is the field to sort on an the second
is the direction ('asc' or 'desc')
### Group Events
#### Sends
* sort :: An array where the first elemetn is the field to sort on an the second
is the direction ('asc' or 'desc')
#### Receives
* fields :: An array containing the fields in a table. This will be concat'd +
uniqued with the curent list.
*/
angular.module('kibana.sort', [])
.controller('sort', function($scope, eventBus) {

View File

@ -1,3 +1,25 @@
/*
## Sort
This will probably be removed in the near future since it only interacts with
the table panel and the table panel already implements all of its functionality.
It only interacts with the table panel in any case
### Parameters
* label :: The label to stick over the drop down
* sort :: An array where the first elemetn is the field to sort on an the second
is the direction ('asc' or 'desc')
### Group Events
#### Sends
* sort :: An array where the first elemetn is the field to sort on an the second
is the direction ('asc' or 'desc')
#### Receives
* fields :: An array containing the fields in a table. This will be concat'd +
uniqued with the curent list.
*/
angular.module('kibana.stringquery', [])
.controller('stringquery', function($scope, eventBus) {