Animation type for the logo.
Animation duration in seconds. Default is 1.5 seconds for the pulse animation.
Readonly gradientUnique ID for the gradient definition to avoid conflicts
CSS color for the logo (solid color). Accepts any valid CSS color value. Default is MJ blue (#264FAF). 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 ɵfacCalculate gradient transform based on angle. Converts angle to x1, y1, x2, y2 coordinates for SVG linearGradient.
Get the fill value for the SVG paths. Returns a gradient URL reference if gradient is set, otherwise the solid color.
MJ Loading Component - Displays an animated MJ logo with optional text.
Features:
Example