GUAC-932: Migrate ClientProperties to new "types/" convention. Explicitly note type elsewhere.

This commit is contained in:
Michael Jumper
2014-11-30 18:08:34 -08:00
parent aab0297d40
commit 437d389ffc
3 changed files with 39 additions and 14 deletions

View File

@@ -30,12 +30,29 @@ angular.module('client').directive('guacClient', [function guacClient() {
restrict: 'E',
replace: true,
scope: {
// Parameters for controlling client state
clientProperties : '=',
/**
* Parameters for controlling client state.
*
* @type ClientProperties|Object
*/
clientProperties : '=',
// Parameters for initially connecting
id : '=',
connectionParameters : '='
/**
* The ID of the Guacamole connection to connect to.
*
* @type String
*/
id : '=',
/**
* Arbitrary URL-encoded parameters to append to the connection
* string when connecting.
*
* @type String
*/
connectionParameters : '='
},
templateUrl: 'app/client/templates/guacClient.html',
controller: ['$scope', '$injector', '$element', function guacClientController($scope, $injector, $element) {