Home > cardano-lsd > CardaNostraAdaSpinner > attachSVG

CardaNostraAdaSpinner.attachSVG() method

Attach SVG and run animation on CardaNostraAdaSpinner by Element Id.

Signature:

attachSVG(): Promise<void>;

Returns:

Promise<void>

Remarks

This method attaches and animates the element.

Example

let spinner = new CardaNostraAdaSpinner({id="element-id"});
// after page load attach svg to animate
spinner.attachSVG();