Animation type for the logo.
Animation duration in seconds. Default is 1.5 seconds for the pulse animation.
ReadonlygradientUnique ID for the gradient definition to avoid conflicts
CSS color for the logo (solid color). Accepts any valid CSS color value. When empty, uses --mj-logo-color CSS variable (adapts to light/dark theme). Ignored if logoGradient is provided.
Gradient configuration for the logo. When provided, creates a linear gradient fill instead of solid color. Takes precedence over logoColor.
Whether to show the text below the logo. When false, only the animated logo is shown.
Size preset for quick sizing.
Text to display below the loading animation. Set to empty string or use showText=false to hide text.
CSS color for the loading text. Accepts any valid CSS color value.
StaticɵcmpStaticɵfacUse Animation.
Use AnimationDuration.
Calculate gradient transform based on angle. Converts angle to x1, y1, x2, y2 coordinates for SVG linearGradient.
Use LogoColor.
Get the fill value for the SVG paths. Returns a gradient URL reference if gradient is set, the explicit logoColor if provided, or null to let the CSS variable (--mj-logo-color) take effect.
Use LogoGradient.
Use ShowText.
Use Size.
Use Text.
Use TextColor.
MJ Loading Component - Displays an animated MJ logo with optional text.
Features:
Example