Spinner Extension

The spinner extension displays a customizable loader image when loading a new page.

This extension is bundled with IAS as a core extension.

Usage

After you initialized IAS you can register the extension:

ias.extension(new IASSpinnerExtension({
    src: '<image source>', // optionally
}));

You can optionally set options for this extension. See below.

Options

src

Type
string
Default

The src attribute of the image.

html

Type
string
Default
<div class="ias-spinner" style="text-align: center;"><img src="{src}"/></div>

Allows you to override the html. The {src} placeholder will be replace by the value of the option src.

Something is missing or incorrect in this documentation? Just fork and edit it!