Replaces the content of the centered loading row. element accepts an HTML string or an HTMLElement; styles is a style object applied to it. Pass null to restore the default.
element
styles
null
The custom loading content, or null.
instance.UI.setCustomLoading({ element: '<div class="spinner"></div>', styles: { color: '#1460f3' } }); Copy
instance.UI.setCustomLoading({ element: '<div class="spinner"></div>', styles: { color: '#1460f3' } });
Replaces the content of the centered loading row.
elementaccepts an HTML string or an HTMLElement;stylesis a style object applied to it. Passnullto restore the default.