Spinner (Bootstrap)

From NSB App Studio
Revision as of 18:00, 30 October 2024 by Ghenne (talk | contribs)
Jump to navigation Jump to search

Description

Indicate the loading state of a component or page.


Properties and Methods

Standard properties are supported, plus:

bgColor Show a standard spinner or a growing icon.
growing Show a standard spinner or a growing icon.
showText Show the text which spins along?
size Default size, or a bit smaller
text The text of the spinner. 'showText' turns it off.

Events

Standard events are supported. For this control, the onclick event will be most useful.

Example

// JavaScript
Alert1.onclick = function() {
  NSB.MsgBox("You can display a message or take other action when clicked");
};

' Basic
FFunction Alert2_onclick()
  MsgBox "You can display a message or take other action when clicked"
End Function

Output