Module: js-whatever/js/spinner-utils

js-whatever/js/spinner-utils

Utility functions for dealing with spinner classes

Source:

Methods

<static> disableSpinner($element, classesToAdd)

Adds the given CSS classes to $element and removes the classes icon-spinner and icon-spin

Parameters:
Name Type Description
$element jQuery
classesToAdd string

The CSS classes to add

Source:

<static> enableSpinner($element, classesToRemove)

Removes the given CSS classes from $element and applies the classes icon-spinner and icon-spin

Parameters:
Name Type Description
$element jQuery
classesToRemove string

The CSS classes to remove

Source:
Copyright 2013-2018 Micro Focus International plc. Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License.
Documentation generated by JSDoc 3.4.3 on Thu Jun 21st 18:04 2018 using the DocStrap template.