The invenioSearch directive handler
- Source:
Example
Usage:
<invenio-search
search-endpoint='SEARCH_PROVIDER_URL'
search-headers='{"Accept": "application/json"}'
search-hidden-params='{"collection": "Collection"}'
search-extra-params='{"page": 2, "size": 5}'>
... Any children directives
</invenio-search>
Methods
(static) link(scope, element, attrs, vm)
Initialize search
Parameters:
Name | Type | Description |
---|---|---|
scope |
service | The scope of this element. |
element |
service | Element that this direcive is assigned to. |
attrs |
service | Attribute of this element. |
vm |
invenioSearchCtrl | Invenio search controller. |
- Source: