GUAC-932: Make display of connections and groups within guacGroupList more abstract.

This commit is contained in:
Michael Jumper
2014-12-18 23:11:16 -08:00
parent ad5ceaa6c7
commit 2d60d2a4f9
6 changed files with 97 additions and 42 deletions

View File

@@ -35,7 +35,36 @@ angular.module('groupList').directive('guacGroupList', [function guacGroupList()
*
* @type ConnectionGroup|Object
*/
connectionGroup : '='
connectionGroup : '=',
/**
* Arbitrary object which shall be made available to the connection
* and connection group templates within the scope as
* <code>context</code>.
*/
context : '=',
/**
* The URL or ID of the Angular template to use when rendering a
* connection. The @link{GroupListItem} associated with that
* connection will be exposed within the scope of the template
* as <code>item</code>, and the arbitrary context object, if any,
* will be exposed as <code>context</code>.
*
* @type String
*/
connectionTemplate : '=',
/**
* The URL or ID of the Angular template to use when rendering a
* connection group. The @link{GroupListItem} associated with that
* connection group will be exposed within the scope of the
* template as <code>item</code>, and the arbitrary context object,
* if any, will be exposed as <code>context</code>.
*
* @type String
*/
connectionGroupTemplate : '='
},