Skip to content
Snippets Groups Projects
Commit 94b2c09a authored by Bucknell, Mary S.'s avatar Bucknell, Mary S.
Browse files

Added doc comments for exported function

parent 41c2e204
No related branches found
No related tags found
No related merge requests found
......@@ -4,6 +4,12 @@ import config from 'ui/config';
import {mediaQuery} from 'ui/utils';
import {drawLoadingIndicator} from 'd3render/loading-indicator';
/*
* Makes the loading indicator visible if isVisible otherwise removes the loading indicator.
* The layoutHeight is used to roughly center the spinner within the hydrograph.
* @param {Boolean} isVisible
* @param {Number} layoutHeight
*/
export const showDataLoadingIndicator = function(isVisible, layoutHeight) {
const container = select('#hydrograph-loading-indicator-container')
.call(drawLoadingIndicator, {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment