File

search/search-action.component.ts

Metadata

Index

Properties
Methods

Constructor

constructor(c8yRouter: C8yRouter, router: Router)
Parameters :
Name Type Optional
c8yRouter C8yRouter No
router Router No

Methods

onClick
onClick(mo: IManagedObject)
Parameters :
Name Type Optional
mo IManagedObject No
Returns : void
onFilter
onFilter(on: string)
Parameters :
Name Type Optional
on string No
Returns : void
onSearch
onSearch(on: string)
Parameters :
Name Type Optional
on string No
Returns : void
triggerDataLoad
triggerDataLoad()
Returns : void

Properties

customQuery
Type : UnaryFunction<string | Observable<IResultList<IManagedObject>>>
typeaheadReload
Default value : new EventEmitter()
<c8y-search-input
  (filter)="onFilter($event)"
  (search)="onSearch($event)"
  (onClick)="onClick($event)"
  [enableCustomTemplatePlaceholder]="true"
  [customDataQuery]="customQuery"
  [externalTerm]="typeaheadReload"
>
  <c8y-search-custom-filters
    class="d-flex gap-16 p-l-4"
    (refresh)="triggerDataLoad()"
    (customDataQuery)="customQuery = $event"
  ></c8y-search-custom-filters>
</c8y-search-input>

results matching ""

    No results matching ""