Class

SearchbarComponent

SearchbarComponent()

Constructor

# new SearchbarComponent()

The SearchbarComponent provides a highly customizable search input field with comprehensive options for appearance, behavior, and interaction patterns. It extends NgxBaseComponentDirective to inherit common functionality and implements OnInit for proper lifecycle management. This component features debounced input handling, window event integration, visibility controls, and extensive styling options. It's designed to be flexible and adaptable to different search requirements within modern web applications.

Searchbar component for Angular applications.

Implements:
  • OnInit

View Source lib/components/searchbar/searchbar.component.ts, line 24

Extends

  • NgxBaseComponentDirective

SearchbarComponent()

Constructor

# new SearchbarComponent()

Initializes the SearchbarComponent with all necessary dependencies and configurations. During initialization, it adds all available Ionicons to the application's icon registry, ensuring that search and clear icons are available for use throughout the component's lifecycle.

Creates an instance of SearchbarComponent.

View Source lib/components/searchbar/searchbar.component.ts, line 264