mirror of
				https://github.com/gyurix1968/guacamole-client.git
				synced 2025-10-31 09:03:21 +00:00 
			
		
		
		
	GUAC-928: Add progress bar to notifications.
This commit is contained in:
		| @@ -93,6 +93,22 @@ angular.module('index').controller('indexController', ['$scope', '$injector', | ||||
|      *     The number of seconds remaining before the countdown callback is | ||||
|      *     called. | ||||
|      * | ||||
|      * @param {String} [status.progress.text] | ||||
|      *     If this notification has associated progress, the text to display | ||||
|      *     while the operation is occurring. | ||||
|      * | ||||
|      * @param {String} [status.progress.value] | ||||
|      *     The current state of operation progress, as an arbitrary number | ||||
|      *     which increases as the operation continues. | ||||
|      * | ||||
|      * @param {String} [status.progress.unit] | ||||
|      *     The unit of the arbitrary status.progress.value, if that value has | ||||
|      *     an associated unit. | ||||
|      * | ||||
|      * @param {String} [status.progress.ratio] | ||||
|      *     If known, the current status of the operation as a value between | ||||
|      *     0 and 1 inclusive, where 0 is not yet started, and 1 is complete. | ||||
|      * | ||||
|      * @param {Object[]} [status.actions] | ||||
|      *     Array of action objects which contain an action name and callback to | ||||
|      *     be executed when that action is invoked.  | ||||
| @@ -138,6 +154,22 @@ angular.module('index').controller('indexController', ['$scope', '$injector', | ||||
|      *     The number of seconds remaining before the countdown callback is | ||||
|      *     called. | ||||
|      * | ||||
|      * @param {String} [notification.progress.text] | ||||
|      *     If this notification has associated progress, the text to display | ||||
|      *     while the operation is occurring. | ||||
|      * | ||||
|      * @param {String} [notification.progress.value] | ||||
|      *     The current state of operation progress, as an arbitrary number | ||||
|      *     which increases as the operation continues. | ||||
|      * | ||||
|      * @param {String} [notification.progress.unit] | ||||
|      *     The unit of the arbitrary notification.progress.value, if that value | ||||
|      *     has an associated unit. | ||||
|      * | ||||
|      * @param {String} [notification.progress.ratio] | ||||
|      *     If known, the current status of the operation as a value between | ||||
|      *     0 and 1 inclusive, where 0 is not yet started, and 1 is complete. | ||||
|      * | ||||
|      * @param {Object[]} [notification.actions] | ||||
|      *     Array of action objects which contain an action name and callback to | ||||
|      *     be executed when that action is invoked.  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user