Loading API

This page provides an overview of the Loading component API, detailing its props, emits, slots, and exposed methods/states.

Props

The Loading component accepts the following props:

PropDefaultTypeDescription
type"simple"EpicLoading or SvgLoading or "simple"The type of loading animation to display.
animationDuration1500number or 1000 or 1200 or 1500 or 2000 or 2500 or 3000 or 4000 or 5000 or 6000 or undefinedThe duration of the animation in milliseconds.
size20number or 40 or 50 or 55 or 60 or 64 or 65 or 66 or 70 or undefinedThe size of the loading animation in pixels.
color"currentColor"string or undefinedThe color of the loading animation.
class""StyleClass or undefinedCustom CSS class for the loading container.

Emits

The Loading component does not emit any events.

Slots

The Loading component does not provide any slots.

Expose

The Loading component exposes the following methods and states via ref:

ExposeValueDescription
typeLoadingProps["type"]The current type of the loading animation.
animationDurationLoadingProps["animationDuration"]The current animation duration in milliseconds.
sizeLoadingProps["size"]The current size of the loading animation.
colorLoadingProps["color"]The current color of the loading animation.
classLoadingLoadingProps["class"]The current CSS class applied to the loading container.
© 2025 FishtVue by Egoka