Class

EmptyStateComponent

.component~EmptyStateComponent()

Constructor

# new EmptyStateComponent()

This component provides a standardized way to display empty state messages when no data is available or when a user needs to take an action to populate content. It includes customizable title, subtitle, icon, and action button elements that can be styled and configured through input properties. The component supports localization and can trigger navigation or custom actions when the button is clicked.

Component for displaying empty state messages with optional actions.

classDiagram class EmptyStateComponent { +string title +string titleColor +string subtitle +string subtitleColor +StringOrBoolean showIcon +string icon +string iconSize +string iconColor +string|Function buttonLink +string buttonText +string buttonFill +string buttonColor +string buttonSize +string searchValue -Router Router +ngOnInit() +handleClick() } EmptyStateComponent --|> NgxBaseComponentDirective EmptyStateComponent --|> OnInit
Implements:
  • OnInit

View Source lib/components/empty-state/empty-state.component.ts, line 61

Extends

  • NgxBaseComponentDirective