File

search/search-results.component.ts

Implements

OnDestroy

Metadata

Index

Properties
Methods

Constructor

constructor(route: ActivatedRoute, alert: AlertService)
Parameters :
Name Type Optional
route ActivatedRoute No
alert AlertService No

Methods

ngAfterViewInit
ngAfterViewInit()
Returns : void
ngOnDestroy
ngOnDestroy()
Returns : void
ngOnInit
ngOnInit()
Returns : void
resetFilter
resetFilter()
Returns : void
resetSearch
resetSearch()
Returns : void

Properties

filter
Type : string
Default value : ''
filteringName
Type : string
searchGrid
Type : SearchGridComponent
Decorators :
@ViewChild(SearchGridComponent, {static: true})
searchText
Type : string
Default value : ''
<c8y-title>
  <span translate class="p-r-4">Search</span>
  <small
    ngNonBindable
    translate
    *ngIf="searchText"
    [translateParams]="{
      searchHint: searchText
    }"
    >searching "{{ searchHint }}"</small
  >
  <small
    ngNonBindable
    translate
    *ngIf="filter"
    [translateParams]="{
      filterHint: filter
    }"
    >filtered by "{{ filterHint }}"</small
  >
</c8y-title>

<c8y-search-grid [searchText]="searchText" [filteringName]="filteringName"></c8y-search-grid>

results matching ""

    No results matching ""