Search results

SpinnerArgs API in JavaScript PDF Viewer API control

Arguments to create a spinner for the target.These properties are optional.

Properties

cssClass

string

Sets the CSS classes to root element of the Spinner which helps to customize the complete UI styles.

label

string

To set the label to the Spinner element.

target

HTMLElement

Target element to the Spinner.

E.g : createSpinner({ target: element });

template

string

Specify the template content to be displayed in the Spinner.

type

SpinnerType

Specify the type of the Spinner.

width

string | number

To set the width of the Spinner.