File

core/search/search.model.ts

Description

The search is an icon that appears on the upper right corner and opens a template or a search bar on click on it.

Index

Properties
Methods

Methods

onSearch
onSearch(term)

A function triggers if the user performance a search.

Parameters :
Name Optional Description
term No

The term used by the user.

Returns : any

Properties

icon
icon: string
Type : string
Optional

The icon for the search. Defaults to the search icon. (optional)

name
Needed for upgrade only.
name: string
Type : string
Optional

The name of the search

priority
priority: number
Type : number
Optional

Ordering of the actions (high number first) (optional)

template
template: any
Type : any
Optional

Angular template used for Content Projection (optional)

term
term: string
Type : string
Optional

The default search term. Defaults to an empty string (optional=)

results matching ""

    No results matching ""