search:keyword
Description
The search conditional directive
- @example
Source
Demo
Usage
as element:
<search:keyword keyword="{string}" facet="{string}" [facet-field="{string}"] [description="{string}"] [date="{string}"] [date-format="{string}"] [date-display-format="{string}"]> </search:keyword>
Directive info
- This directive creates new scope.
Parameters
Param | Type | Details |
---|---|---|
keyword | string | The keyword the user types |
facet | string | The facet the keyword is associated with |
facetField (optional) | string | The facet the keyword is associated with |
description (optional) | string | The description to display next to the keyword |
date (optional) | string | Type of date (on, before, after. Default: on) |
dateFormat (optional) | string | Date format to use for the datapicker. Default yyyy-MM-ddTHH:mm:ss |
dateDisplayFormat (optional) | string | Date format to use for the datapicker display values. Default yyyy-MM-ddTHH:mm:ss |