You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reading the documentation, it seems like the textVisible loader option only controls whether the supplied text will be shown:
If true, the text value will be used under the spinner.
However, when using the html option to specify custom HTML for the loader, it turns out that the textVisible option still controls whether the loader is shown as simple circle or as a bigger box (with space for text or other content).
This is not clear from the documentation, so it would help to add information about this. The underlying problem is, however, that the naming for the textVisible option does not make clear that it controls more things than only showing text. It might be better to add another option to control whether the loader is shown as circle or as a box (or rename this option to something more appropriate).
Test code
Specifically look at the latest class name. This class seems to determine whether the loader is just a circle (ui-loader-default) or a bigger box (ui-loader-verbose).
Issue description
Reading the documentation, it seems like the
textVisible
loader option only controls whether the supplied text will be shown:However, when using the
html
option to specify custom HTML for the loader, it turns out that thetextVisible
option still controls whether the loader is shown as simple circle or as a bigger box (with space for text or other content).This is not clear from the documentation, so it would help to add information about this. The underlying problem is, however, that the naming for the
textVisible
option does not make clear that it controls more things than only showing text. It might be better to add another option to control whether the loader is shown as circle or as a box (or rename this option to something more appropriate).Test code
Specifically look at the latest class name. This class seems to determine whether the loader is just a circle (
ui-loader-default
) or a bigger box (ui-loader-verbose
).Default loader
Output: circle loader
Loader with text
Configuration
Output: box loader
Loader with custom HTML
Configuration
Output: circle loader (why?)
Loader with custom HTML and
textVisible
optionConfiguration
Output: box loader (why?)
jQuery Mobile and jQuery core version used
Other relevant information
Please let me know if test pages are required, in that case I will add them to this issue.
The text was updated successfully, but these errors were encountered: