Spinner

A spinner is a circular image like object that is spinning. A common use case for a spinner is to show that an action is going on.

Try the following shortcode examples on your WordPress page and view the page to see it in action.

Examples

[bsv-spinner]
[bsv-spinner shape="grow" style="danger" size="large"]
[bsv-spinner shape="grow" button="yes" buttontext="in progress" style="warning"]

Format

[bsv-spinner parameter="value" ...]

Parameters

Parameter
Description
Default

button

Display spinner in a button. Supporteed values:

  • no

  • yes

no

buttontext

If displayed in a button, this will be the button text.

no value

shape

Shape of the spinner. Supported values:

  • border

  • grow

border

size

Size of the spinner. Supported values:

  • small

  • normal

  • medium

  • large

This parameter has no effect when button=”yes”

normal

style

Defines the Bootstrap style. Supported values:

  • danger

  • dark

  • info

  • light

  • primary

  • secondary

  • success

  • warning

primary

Last updated